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 tinderYou can then install puppet-campfire as a module in your Puppet master’s modulepath.
Update the domain and 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 puppet.conf including
specifying the campfire report.
[master]report = truereports = campfirepluginsync = true[agent]report = truepluginsync = trueFinally, run the Puppet client and sync the report as a plugin and hey presto you’re logging failures to Campfire.
