Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Chef handler for sending exceptions to Hoptoad
Ruby
branch: master

This branch is 16 commits ahead of adamhjk:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.document
.gitignore
Gemfile
LICENSE
README.rdoc
Rakefile
hoptoad_handler.gemspec

README.rdoc

WARNING

This gem was renamed to airbrake_handler, due to changing service name: robots.thoughtbot.com/post/7665411707/hoptoad-is-now-airbrake

New gem can be found at: rubygems.org/gems/airbrake_handler Repository: github.com/morgoth/airbrake_handler

Hoptoad handler for Chef

Report chef exceptions to hoptoad.

Works fine with chef versions: 0.9.x and 0.10.x

Usage

gem install hoptoad_handler

In your chef client file (often placed at /etc/chef/client.rb) put:

require "hoptoad_handler"
exception_handlers << HoptoadHandler.new(:api_key => "your-hoptoad-api-key")

You can pass more options to HoptoadHander initializer, i.e:

HoptoadHandler.new(:api_key => "your-hoptoad-api-key", :framework_env => "production")

Copyright

Copyright © 2011 Adam Jacob, Wojciech Wnętrzak See LICENSE for details.

Something went wrong with that request. Please try again.