X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d9ce053b71c151916fa8764b44a6058f827d3146..e7be1b3d379bdb1ee55de0d68f7946ed9f63fc62:/cookbooks/ohai/resources/plugin.rb 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"