summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authorAdam Jacob <adam@hjksolutions.com>2008-09-08 16:57:37 -0700
committerAdam Jacob <adam@hjksolutions.com>2008-09-08 16:57:37 -0700
commitdf601907c9bdbc856a5f28dc96df31bae8b7a5fb (patch)
treedda6624fcde7ec7d4ddcf46177614c9b7a7440fc /lib/chef
parent5c850d49d0b0f1928fad1cecfe9de1585ffa9fe6 (diff)
downloadchef-df601907c9bdbc856a5f28dc96df31bae8b7a5fb.tar.gz
Updating apt to mark the resource as updated
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/provider/apt.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/provider/apt.rb b/lib/chef/provider/apt.rb
index caa3b20cf1..e66a8c0243 100644
--- a/lib/chef/provider/apt.rb
+++ b/lib/chef/provider/apt.rb
@@ -99,6 +99,8 @@ class Chef
"DEBIAN_FRONTEND" => "noninteractive"
}
)
+ @new_resource.updated = true
+ Chef::Log.info("Removed #{@new_resource} successfully")
end
end