X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2bfb0ef07fb64314f5c4ded641a8c280df9c1d0b..810ba51e5ea149f4c5e836e0828cd462b04a2727:/cookbooks/ohai/resources/plugin.rb?ds=inline 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