X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0d3914cdadb7d61b06c5553f6a1d2937a23820a4..c590ff1934c8f557a5f844c482daae5f672bddcf:/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 5d1f46393..6faa7384b 100644 --- a/cookbooks/chef/templates/default/client.rb.erb +++ b/cookbooks/chef/templates/default/client.rb.erb @@ -9,6 +9,10 @@ Encoding.default_external = Encoding::UTF_8 +# Accept the license + +chef_license "accept" + # Log at level info log_level :info @@ -29,9 +33,9 @@ ssl_verify_mode :verify_peer chef_server_url "https://chef.openstreetmap.org/organizations/openstreetmap" -# Make our plugins visible to ohai +# Enable some optional ohai plugins -ohai.plugin_path << "<%= node[:ohai][:plugin_dir] %>" +ohai.optional_plugins = %w[Passwd] # Load supporting code for report handlers