Awesome
Description
A Chef Exception Handler for Flowdock.
Cookbook Install
- Create a Flowdock account.
- Create a Flowdock flow.
- Retrieve your Flowdock API Token.
- Download the chef_handler Cookbook.
- Given you've retrieved your Flowdock API Token as API_TOKEN, add a Recipe similar to the example below:
include_recipe 'chef_handler'
gem_package('chef-handler-flowdock'){action :nothing}.run_action(:install)
chef_handler 'Chef::Handler::FlowdockHandler' do
action :enable
attributes :api_token => "API_TOKEN",
:from => {:name => "YOUR_NAME", :address => "YOUR_EMAIL"}
source File.join(Gem::Specification.find{|s| s.name == 'chef-handler-flowdock'}.gem_dir,
'lib', 'chef', 'handler', 'flowdock_handler.rb')
end
See also: Enable Chef Handler with LWRP
Manual Install
- Create a Flowdock account.
- Create a Flowdock flow.
- Retrieve your Flowdock API Token.
- Install the
chef-handler-flowdock
Gem on your node:
gem install chef-handler-flowdock
- Given you've retrieved your Flowdock API Token as API_TOKEN, add it to your
/etc/chef/client.rb
on your node:
require '/var/chef/handlers/flowdock_handler'
exception_handlers << Chef::Handler::FlowdockHandler.new(:api_token => "API_TOKEN")
Author
Copyright
Copyright 2012 Matthias Marschall (mm@agileweboperations.com)
License
Apache License 2.0