X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/430396d5f0405bccfebd3f3f1146aec7e5b9eacd..090fe909149f22d158c859a7d4a9edfb523df2fb:/cookbooks/chef/templates/default/client.rb.erb diff --git a/cookbooks/chef/templates/default/client.rb.erb b/cookbooks/chef/templates/default/client.rb.erb index cdc09b2b2..5c9d888f5 100644 --- a/cookbooks/chef/templates/default/client.rb.erb +++ b/cookbooks/chef/templates/default/client.rb.erb @@ -27,7 +27,7 @@ chef_server_url "https://chef.openstreetmap.org/organizations/openstreetmap" # Make our plugins visible to ohai -Ohai::Config[:plugin_path] << "<%= node[:ohai][:plugin_dir] %>" +ohai.plugin_path << "<%= node[:ohai][:plugin_dir] %>" # Load supporting code for report handlers @@ -35,9 +35,9 @@ require "/etc/chef/report" # Create report handler -email_handler = Chef::Handler::Email.new(:to => "tom@compton.nu") +email_handler = Chef::Handler::Email.new(:to => ["tom@compton.nu", "openstreetmap@firefishy.com"]) # Configure report handlers -exception_handlers << email_handler -report_handlers << email_handler +#exception_handlers << email_handler +#report_handlers << email_handler