Chef Status Handler
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
README.rdoc
chef_status_handler.gemspec

README.rdoc

chef_status_handler: a Chef Handler for the chef_status web server

  • Reports successful and failed chef client runs to a central server

Getting Started

gem install chef_status_handler

In your client.rb:

require 'chef_status_handler'

my_handler = Medidata::ChefStatusHandler.new
my_handler.url = 'http://example.com/chef_reports.json' # No authentication
my_handler.url = 'http://user:password@example.com/chef_reports.json' # Basic auth

# Configure Chef to use your handler to notify you of failed chef runs
exception_handlers << my_handler
# Notify on successful runs
report_handlers << my_handler