# Deploy Sensu Plugins with Puppet

**URL:** <https://discourse.sensu.io/t/deploy-sensu-plugins-with-puppet/833>\
**Category:** Sensu Classic (EOL)\
**Created:** [July 10, 2017, 8:34am UTC](https://discourse.sensu.io/t/deploy-sensu-plugins-with-puppet/833 "2017-07-10T08:34:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Hofmann](https://avatars.discourse-cdn.com/v4/letter/t/8c91f0/32.png) [@Tim\_Hofmann](https://discourse.sensu.io/u/Tim_Hofmann)\
**Post date:** [July 10, 2017, 8:34am UTC](https://discourse.sensu.io/t/deploy-sensu-plugins-with-puppet/833/1 "2017-07-10T08:34:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Alexander\_Skiba](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/alexander_skiba/32/408_2.png) [@Alexander\_Skiba](https://discourse.sensu.io/u/Alexander_Skiba)\
**Post date:** [July 10, 2017, 10:32am UTC](https://discourse.sensu.io/t/deploy-sensu-plugins-with-puppet/833/2 "2017-07-10T10:32:20Z")

</div>

Assuming you use the sensu-puppet module ([GitHub - sensu/sensu-puppet: Sensu Puppet module.](https://github.com/sensu/sensu-puppet)).

Quoting and slightly modifying their example:

```auto
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.

---

<div class="post-metadata">

**Author:** ![Tim\_Hofmann](https://avatars.discourse-cdn.com/v4/letter/t/8c91f0/32.png) [@Tim\_Hofmann](https://discourse.sensu.io/u/Tim_Hofmann)\
**Post date:** [July 10, 2017, 11:46am UTC](https://discourse.sensu.io/t/deploy-sensu-plugins-with-puppet/833/3 "2017-07-10T11:46:51Z")

</div>

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](https://github.com/sensu/sensu-puppet)).
> 
> > Quoting and slightly modifying their example:
> 
> > 
> 
> > ```auto
> > 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.

---

<div class="post-metadata">

**Author:** ![Alexander\_Skiba](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/alexander_skiba/32/408_2.png) [@Alexander\_Skiba](https://discourse.sensu.io/u/Alexander_Skiba)\
**Post date:** [July 13, 2017, 12:11pm UTC](https://discourse.sensu.io/t/deploy-sensu-plugins-with-puppet/833/4 "2017-07-13T12:11:19Z")

</div>

I don’t know Katello. However, your question inspired me to write a longer blog post: [GhostLyrics' Journal – Example of a Sensu Puppet class](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. 🙂

> **···**
>
> 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](https://github.com/sensu/sensu-puppet)).
> 
> > > Quoting and slightly modifying their example:
> 
> > >
> 
> > > ```auto
> > > 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.

---

<div class="post-metadata">

**Author:** ![Tim\_Hofmann](https://avatars.discourse-cdn.com/v4/letter/t/8c91f0/32.png) [@Tim\_Hofmann](https://discourse.sensu.io/u/Tim_Hofmann)\
**Post date:** [July 19, 2017, 12:58pm UTC](https://discourse.sensu.io/t/deploy-sensu-plugins-with-puppet/833/5 "2017-07-19T12:58:01Z")

</div>

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](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. 🙂
> > 
> > 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](https://github.com/sensu/sensu-puppet)).
> 
> > > > Quoting and slightly modifying their example:
> 
> > > >
> 
> > > > ```auto
> > > > 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.

---

<div class="post-metadata">

**Author:** ![jspaleta](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/jspaleta/32/141_2.png) [@jspaleta](https://discourse.sensu.io/u/jspaleta)\
**Post date:** [November 22, 2018, 2:07am UTC](https://discourse.sensu.io/t/deploy-sensu-plugins-with-puppet/833/6 "2018-11-22T02:07:56Z")

</div>


