Deploy Sensu Plugins with Puppet

Hi,

i am new to Sensu and puppet and just wanted to ask if it is possible to deploy sensu-plugins with puppet.

Is there any documentation or tutorial?

Thanks in advance.

Assuming you use the sensu-puppet module (GitHub - sensu/sensu-puppet: Sensu Puppet module.).

Quoting and slightly modifying their example:

package { 'sensu-plugins-network-checks':
  ensure   => 'installed',
  provider => sensu_gem,
}

``

···

On Monday, July 10, 2017 at 10:34:03 AM UTC+2, Tim Hofmann wrote:

Hi,

i am new to Sensu and puppet and just wanted to ask if it is possible to deploy sensu-plugins with puppet.

Is there any documentation or tutorial?

Thanks in advance.

Hi alexander,

thanks for your answer. So i have to define a new Puppet class? I’am not really aware where to put the snippet.

By the Way: I’am trying to use Katello with puppet.

···

Am Montag, 10. Juli 2017 12:32:21 UTC+2 schrieb Alexander Skiba:

Assuming you use the sensu-puppet module (https://github.com/sensu/sensu-puppet).

Quoting and slightly modifying their example:

package { 'sensu-plugins-network-checks':
  ensure   => 'installed',
  provider => sensu_gem,
}

``

On Monday, July 10, 2017 at 10:34:03 AM UTC+2, Tim Hofmann wrote:

Hi,

i am new to Sensu and puppet and just wanted to ask if it is possible to deploy sensu-plugins with puppet.

Is there any documentation or tutorial?

Thanks in advance.

I don’t know Katello. However, your question inspired me to write a longer blog post: GhostLyrics' Journal – Example of a Sensu Puppet class

I hope this will be helpful to you. I explain most of the things in detail and the examples are not theoretical, but taken from production. :slight_smile:

···

On Monday, July 10, 2017 at 1:46:51 PM UTC+2, Tim Hofmann wrote:

Hi alexander,

thanks for your answer. So i have to define a new Puppet class? I’am not really aware where to put the snippet.

By the Way: I’am trying to use Katello with puppet.

Am Montag, 10. Juli 2017 12:32:21 UTC+2 schrieb Alexander Skiba:

Assuming you use the sensu-puppet module (https://github.com/sensu/sensu-puppet).

Quoting and slightly modifying their example:

package { 'sensu-plugins-network-checks':
  ensure   => 'installed',
  provider => sensu_gem,
}

``

On Monday, July 10, 2017 at 10:34:03 AM UTC+2, Tim Hofmann wrote:

Hi,

i am new to Sensu and puppet and just wanted to ask if it is possible to deploy sensu-plugins with puppet.

Is there any documentation or tutorial?

Thanks in advance.

Hi Alexander,

thanks for the link. i will have a look at that.

···

Am Donnerstag, 13. Juli 2017 14:11:19 UTC+2 schrieb Alexander Skiba:

I don’t know Katello. However, your question inspired me to write a longer blog post: http://ghostlyrics.net/example-of-a-sensu-puppet-class.html

I hope this will be helpful to you. I explain most of the things in detail and the examples are not theoretical, but taken from production. :slight_smile:

On Monday, July 10, 2017 at 1:46:51 PM UTC+2, Tim Hofmann wrote:

Hi alexander,

thanks for your answer. So i have to define a new Puppet class? I’am not really aware where to put the snippet.

By the Way: I’am trying to use Katello with puppet.

Am Montag, 10. Juli 2017 12:32:21 UTC+2 schrieb Alexander Skiba:

Assuming you use the sensu-puppet module (https://github.com/sensu/sensu-puppet).

Quoting and slightly modifying their example:

package { 'sensu-plugins-network-checks':
  ensure   => 'installed',
  provider => sensu_gem,
}

``

On Monday, July 10, 2017 at 10:34:03 AM UTC+2, Tim Hofmann wrote:

Hi,

i am new to Sensu and puppet and just wanted to ask if it is possible to deploy sensu-plugins with puppet.

Is there any documentation or tutorial?

Thanks in advance.