James Turnbull

Kartar.Net

If I had my hand full of truth, I would take good care how I opened it

Puppet Growl

Today’s report processor is Puppet Growl It sends failed reports as Growl notifications to a Growl server. Firstly, install the ruby-growl gem on your Puppet master: $ sudo gem install ruby-growl Then install puppet-growl as a module in your Puppet master’s module path. Update the growl_server variables in the growl.yaml file with the IP address of the host to receive the Growl notification and copy the file to /etc/puppet/. An example file is included.

Puppet Jabber/XMPP

More in our week of report processors: a Jabber/XMPP report processor. Puppet XMPP is a report processor that notifies a Jabber/XMPP user of a failed Puppet run with the name of the host that failed and the date. It requires the xmpp4r gem to be installed on your Puppet master: $ sudo gem install xmpp4r You can then install puppet-xmpp as a module in your Puppet master’s modulepath. Update the xmpp_jid, xmpp_passowrd, and xmpp_target variables in the xmpp.

Puppet PagerDuty

Continuing in our ‘week ‘o report processors’ is a Puppet PagerDuty report processor. Puppet PagerDuty sends an alert to the highly cool PagerDuty service notifying of failed Puppet runs with the name of the host that failed and the date. All log entries for your Puppet run are also passed to PagerDuty as part of the API call. The PagerDuty report processor is easy to install: Install the rest-client and json gems on your Puppet master

Puppet Twitter

So on with our week of Puppet report processors. We started the week with the Puppet Campfire and Puppet IRC processors. Today I am doing a somewhat more complex (and potentially not very practical … :) ) report processor that sends notifications of failed runs to Twitter. It requires a bit more setup than the other processors starting with the Twitter and OAuth gems. Install the oauth and twitter gems on your Puppet master

Puppet Campfire

Our second report processor of the week notifies a Campfire room when a Puppet run fails. It also pastes in the log output from that run into your Campfire room - defaulting to the first room in your lobby. It’s easy to install and configure. Firstly, it requires the tinder gem to be installed on your Puppet master: $ sudo gem install tinder You can then install puppet-campfire as a module in your Puppet master’s modulepath.