]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/templates/default/client.rb.erb
Use new syntax to configure ohai plugin path
[chef.git] / cookbooks / chef / templates / default / client.rb.erb
index f151c7d0760a31ef947315b49855ea940c6be2fb..65bf700e8dbe4a56880e037c55fe40074016bca5 100644 (file)
@@ -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