Skip to content

Commit

Permalink
Merge pull request chef-boneyard#11 from nmische/master
Browse files Browse the repository at this point in the history
Fix for sudo provider's remove action
  • Loading branch information
Joshua Timberman committed Dec 21, 2012
2 parents 4744a5e + 2a1c953 commit e85bd9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def render_sudoer
resource = file "/etc/sudoers.d/#{new_resource.name}" do
action :nothing
end
resource.run_action(:remove)
resource.run_action(:delete)
new_resource.updated_by_last_action(true) if resource.updated_by_last_action?
end

Expand Down

0 comments on commit e85bd9f

Please sign in to comment.