Skip to content
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.

Commit

Permalink
Fix delete plugin ('do' is misplaced)
Browse files Browse the repository at this point in the history
  • Loading branch information
obazoud committed Sep 16, 2015
1 parent 3b66887 commit 174efd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/plugin.rb
Expand Up @@ -15,8 +15,8 @@
end

action :delete do
file "#{new_resource.name} :delete #{node["collectd"]["plugins_conf_dir"]}/#{new_resource.name}.conf}"
path ::File.join(node["collectd"]["plugins_conf_dir"], "#{new_resource.name}.conf") do
file "#{new_resource.name} :delete #{node["collectd"]["plugins_conf_dir"]}/#{new_resource.name}.conf}" do
path ::File.join(node["collectd"]["plugins_conf_dir"], "#{new_resource.name}.conf")
action :delete
end
end

0 comments on commit 174efd5

Please sign in to comment.