X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/62c13124ef096a297f735f3942ce5b1790ef292b..810ba51e5ea149f4c5e836e0828cd462b04a2727:/cookbooks/ohai/resources/plugin.rb diff --git a/cookbooks/ohai/resources/plugin.rb b/cookbooks/ohai/resources/plugin.rb index 7a78a8806..72719e2ec 100644 --- a/cookbooks/ohai/resources/plugin.rb +++ b/cookbooks/ohai/resources/plugin.rb @@ -36,12 +36,6 @@ action :create do recursive true end - # FIXME: Cleanup of plugins in the old location - declare_resource :file, plugin_old_path do - action :delete - notifies :reload, "ohai[#{new_resource.plugin}]" - end - declare_resource :template, plugin_path do source new_resource.template owner "root" @@ -58,10 +52,6 @@ action :delete do end action_class do - def plugin_old_path - "/etc/chef/ohai/#{new_resource.plugin}.rb" - end - def plugin_path "/etc/chef/ohai/plugins/#{new_resource.plugin}.rb" end