X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/741593ee2bf203c9261f604d094e3d8e621698a8..45cacb1e2f232b55f200301f49ff9e9c70118028:/cookbooks/ohai/resources/plugin.rb?ds=inline diff --git a/cookbooks/ohai/resources/plugin.rb b/cookbooks/ohai/resources/plugin.rb index 9367a4d83..ceff104b9 100644 --- a/cookbooks/ohai/resources/plugin.rb +++ b/cookbooks/ohai/resources/plugin.rb @@ -27,6 +27,13 @@ action :create do action :nothing end + directory "/etc/chef/ohai" do + owner "root" + group "root" + mode 0o755 + recursive true + end + declare_resource :template, plugin_path do source new_resource.template owner "root"