X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/430396d5f0405bccfebd3f3f1146aec7e5b9eacd..cc6b107e2e4aa6d7b882d4fb626a1a80a41104c8:/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..65bf700e8 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,7 +35,7 @@ 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