X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2bfb0ef07fb64314f5c4ded641a8c280df9c1d0b..50aea11082eaa90bd37593b9c987d38a082f4e1b:/cookbooks/ohai/resources/plugin.rb diff --git a/cookbooks/ohai/resources/plugin.rb b/cookbooks/ohai/resources/plugin.rb index d5f1c42fe..72719e2ec 100644 --- a/cookbooks/ohai/resources/plugin.rb +++ b/cookbooks/ohai/resources/plugin.rb @@ -29,7 +29,7 @@ action :create do action :nothing end - directory "/etc/chef/ohai" do + directory "/etc/chef/ohai/plugins" do owner "root" group "root" mode "755" @@ -53,6 +53,6 @@ end action_class do def plugin_path - "/etc/chef/ohai/#{new_resource.plugin}.rb" + "/etc/chef/ohai/plugins/#{new_resource.plugin}.rb" end end