X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/7b9ec4b60ee39614d1d083d7220e76b07d2b275f..dcca22ed1af7a37c50f4021e8a32ab71ad7259cf:/cookbooks/chef/definitions/ohai_plugin.rb diff --git a/cookbooks/chef/definitions/ohai_plugin.rb b/cookbooks/chef/definitions/ohai_plugin.rb index 06e9d300d..50be323fe 100644 --- a/cookbooks/chef/definitions/ohai_plugin.rb +++ b/cookbooks/chef/definitions/ohai_plugin.rb @@ -31,7 +31,7 @@ define :ohai_plugin, :action => [ :create, :delete ] do owner "root" group "root" mode 0644 - notifies :reload, resources(:ohai => plugin_name) + notifies :reload, "ohai[#{plugin_name}]" end elsif plugin_action.include?(:delete) template "/etc/chef/ohai/#{plugin_name}.rb" do