Chef Exception & Reporting Handler for Campfire
Switch branches/tags
Nothing to show
Clone or download
#1 Compare This branch is 20 commits ahead of bscott:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/chef/handler
.gitignore
LICENSE
README.md
Rakefile
chef-handler-campfire.gemspec

README.md

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 NUMBER as ROOM and Subdomain as SUBDOMAIN, add a Recipe similar to the example below:

Note this works with chef 11.10

include_recipe 'chef_handler'

chef_gem "chef-handler-campfire" do
  action :install
end

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

Also if you are having trouble figuring out the ROOM number, it's the number in the URL on your campfirenow.com address.

See also: Chef Handlers on the Chef Doc site.

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.

Contributor

  1. JJ Asghar for updating README.md

Copyright

Copyright 2012 Splunk, Inc.

License

Apache License 2.0