Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Description

Report Chef exceptions to Airbrake using the airbrake_handler gem.

This cookbook uses the chef_gem resource added in Chef 0.10.10. If you are using an earlier version of Chef, then you can install the chef_gem cookbook which backports this functionality.

Attributes

  • node['airbrake_handler']['api_key'] - Your Airbrake API Key, required.
  • node['airbrake_handler']['framework_env'] - What environment to report to Airbrake, defaults to the node.chef_environment.
  • node['airbrake_handler']['version'] - Set the version of the airbrake_handler gem to install.

Any additional airbrake_handler attributes will be passed directly into the AirbrakeHandler class.

Usage

Add recipe[airbrake_handler] to your run list and set the airbrake_handler/api_key attribute.

run_list("recipe[airbrake_handler]")
default_attributes("airbrake_handler" => { "api_key" => "your-airbrake-api-key" })

About

Opscode Chef cookbook to install and configure the Airbrake handler.

Resources

Releases

No releases published

Packages

No packages published

Languages