]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/templates/default/client.rb.erb
Make sure the Passwd ohai plugin is enabled
[chef.git] / cookbooks / chef / templates / default / client.rb.erb
index 5d1f463930de23870f0273116e749d3218690e62..094340f160d8967ac47dbfec386ed16bcc822181 100644 (file)
@@ -33,6 +33,10 @@ chef_server_url "https://chef.openstreetmap.org/organizations/openstreetmap"
 
 ohai.plugin_path << "<%= node[:ohai][:plugin_dir] %>"
 
+# Enable some optional ohai plugins
+
+ohai.optional_plugins = %w[Passwd]
+
 # Load supporting code for report handlers
 
 require "/etc/chef/report"