/chef-handler-campfire

Chef Exception & Reporting Handler for Campfire

Primary LanguageRubyApache License 2.0Apache-2.0

Description

A Chef Exception & Reporting Handler for 37signal's Campfire.

Usage

  1. Create a 37signals Campfire account.
  2. Retrieve your Campfire Token. URL TK
  3. Create a Campfire Room. URL TK
  4. Download the chef_handler Cookbook.
  5. Given you've retrieved your Campfire Token as TOKEN, your Room ID as ROOM and Subdomain as SUBDOMAIN, add a Recipe similar to the example below:
include_recipe 'chef_handler'

gem_package('chef-handler-campfire'){action :nothing}.run_action(:install)

chef_handler 'Chef::Handler::Campfire' do
  action :enable
  token 'TOKEN'
  room 'ROOM'
  subdomain 'SUBDOMAIN'
  source File.join(Gem.all_load_paths.grep(/chef-handler-campfire/).first,
                   'chef', 'handler', 'campfire.rb')
end

See also: Enable Chef Handler with LWRP

Authors

  1. Umang Chouhan for the campfire gem.
  2. Brain Scott for the original campfire_handler gem.
  3. Greg Albrecht for chef-handler-campfire gem.

Copyright

Copyright 2012 Splunk, Inc.

License

Apache License 2.0