Skip to content

sml/chef-airbrake_handler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%