X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a08c8d97d5cd3666799fb3bef14618d4c7c23398..810ba51e5ea149f4c5e836e0828cd462b04a2727:/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