Created
June 13, 2012 19:35
-
-
Save kisoku/2925977 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[Wed, 13 Jun 2012 12:20:56 -0700] INFO: Loading cookbooks [chef_handler, mail_handler]
[Wed, 13 Jun 2012 12:20:56 -0700] INFO: Chef Handlers will be at: /srv/chef/handlers
[Wed, 13 Jun 2012 12:20:56 -0700] INFO: Processing remote_directory[/srv/chef/handlers] action create (chef_handler::default line 23)
[Wed, 13 Jun 2012 12:20:56 -0700] INFO: Processing cookbook_file[/srv/chef/handlers/README] action create (dynamically defined)
[Wed, 13 Jun 2012 12:20:56 -0700] INFO: Processing chef_gem[chef-handler-mail] action install (mail_handler::default line 22)
[Wed, 13 Jun 2012 12:20:56 -0700] INFO: Processing chef_handler[Chef::Handler::Mail] action enable (mail_handler::default line 24)
[Wed, 13 Jun 2012 12:20:56 -0700] ERROR: Running exception handlers
[Wed, 13 Jun 2012 12:20:56 -0700] FATAL: Saving node information to /srv/chef/file_store/failed-run-data.json
[Wed, 13 Jun 2012 12:20:56 -0700] ERROR: Exception handlers complete
[Wed, 13 Jun 2012 12:20:56 -0700] FATAL: Stacktrace dumped to /srv/chef/file_store/chef-stacktrace.out
[Wed, 13 Jun 2012 12:20:56 -0700] FATAL: LoadError: no such file to load -- chef/handler/mail.rb