A Chef Exception & Reporting Handler for Splunk Storm.
Ruby
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 8 commits ahead of dje:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/chef/handler
.gitignore
LICENSE
README.md
chef-handler-splunkstorm.gemspec

README.md

Description

A Chef Exception & Reporting Handler for Splunk Storm.

Usage

  1. Create a Splunk Storm account.
  2. Retrieve your Splunk Storm REST API Credentials.
  3. Download the chef_handler Cookbook.
  4. Given you've retrieved your Access Token as ACCESS_TOKEN and Project ID as PROJECT_ID, add a Recipe similar to the example below:
include_recipe 'chef_handler'

gem_package('chef-handler-splunkstorm'){action :nothing}.run_action(:install)

chef_handler 'Chef::Handler::SplunkStorm' do
  action :enable
  arguments ['ACCESS_TOKEN', 'PROJECT_ID']
  source File.join(Gem.all_load_paths.grep(/chef-handler-splunkstorm/).first,
                   'chef', 'handler', 'splunkstorm.rb')
end

See also: Enable Chef Handler with LWRP