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

add example usage for chef_handler LWRP

parent f741d8b1
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,18 @@ Using /etc/chef/config.rb ...@@ -15,6 +15,18 @@ Using /etc/chef/config.rb
report_handlers << mail_handler report_handlers << mail_handler
exception_handlers << mail_handler exception_handlers << mail_handler
Using chef_handler LWRP
chef_gem "chef-handler-mail"
gem "chef-handler-mail"
chef_handler "MailHandler" do
source 'chef/handler/mail'
arguments :to_address => "root"
action :nothing
end.run_action(:enable)
# LICENSE AND AUTHOR: # LICENSE AND AUTHOR:
Author:: Mathieu Sauve-Frankel (<msf@kisoku.net>) Author:: Mathieu Sauve-Frankel (<msf@kisoku.net>)
......
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