summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authorAdam Jacob <adam@hjksolutions.com>2008-09-08 17:21:14 -0700
committerAdam Jacob <adam@hjksolutions.com>2008-09-08 17:21:14 -0700
commitf0177df9fdb9f5098ff850c626e86d69ead412ff (patch)
treecbef5dda5c57272e9927a6617022787eebd3f914 /lib/chef
parent5987e76b77c65e427659340a1f90e59099cc26c8 (diff)
downloadchef-f0177df9fdb9f5098ff850c626e86d69ead412ff.tar.gz
Purge should log and notify as well
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 e66a8c0243..3f9b601ec0 100644
--- a/lib/chef/provider/apt.rb
+++ b/lib/chef/provider/apt.rb
@@ -112,6 +112,8 @@ class Chef
"DEBIAN_FRONTEND" => "noninteractive"
}
)
+ @new_resource.updated = true
+ Chef::Log.info("Purged #{@new_resource} successfully")
end
end