Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Chef handler for sending exceptions to Hoptoad

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .document
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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.