Skip to content
Snippets Groups Projects
Commit 8715cbe2 authored by Mathieu Sauve-Frankel's avatar Mathieu Sauve-Frankel
Browse files

include documentation that actually works

parent ef1cd583
No related branches found
No related tags found
No related merge requests found
...@@ -6,18 +6,14 @@ Opcode wiki at http://wiki.opscode.com/display/chef/Exception+and+Report+Handler ...@@ -6,18 +6,14 @@ Opcode wiki at http://wiki.opscode.com/display/chef/Exception+and+Report+Handler
# USAGE: # USAGE:
Using chef_handler LWRP: Using /etc/chef/config.rb
include_recipe "chef_handler" require 'rubygems'
require 'chef/mail/handler'
gem_package "chef-handler-mail" do
action :nothing mail_handler = MailHandler.new
end.run_action(:install) report_handlers << mail_handler
exception_handlers << mail_handler
chef_handler 'mail-handler' do
source 'chef/handler/mail'
args :to_address "admins@example.com"
end
# LICENSE AND AUTHOR: # LICENSE AND AUTHOR:
......
class MailHandler class MailHandler
VERSION = "0.1.1" VERSION = "0.1.2"
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment