Install
gem install chef-jabber-snitch
Usage
Configure Chef to Use The Handler
Append the following to your Chef client configs, usually at /etc/chef/client.rb
# Notify admins via IRC when a Chef run fails require 'chef-jabber-snitch'
:
jabber_user = "alice@gmail.com" jabber_password = "password" jabber_server = "talk.google.com" jabber_to = "bob@gmail.com" github_user = "foobar" github_token = "asKkwqofovX3shBmtMf8EWhDzSr7ouUb" jabber_handler = JabberSnitch.new(jabber_user, jabber_password, jabber_to, github_user, github_token, jabber_server) exception_handlers << jabber_handler
License
Chef-Jabber-Snitch is released under the MIT license.