Contents

Puppet Jabber/XMPP

Contents

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.yaml file and copy it to /etc/puppet. An example file is included in the repository.

Now enable pluginsync and reports on your master and clients in puppet.conf including specifying the xmpp report processor.

[master]
report = true
reports = xmpp
pluginsync = true
[agent]
report = true
pluginsync = true

Finally, run the Puppet client and sync the report as a plugin and your failed Puppet runs will be now be sent to the requested Jabber/XMPP user.