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.
token variables in the
/etc/puppet/campfire.yaml with your Campfire subdomain, for example
puppetlabs, and your Campfire token. An example file is included. Then enable
pluginsync and reports on your master and clients in
[master] report = true reports = campfire pluginsync = true [agent] report = true pluginsync = true
Finally, run the Puppet client and sync the report as a plugin and hey presto you’re logging failures to Campfire.