From f0177df9fdb9f5098ff850c626e86d69ead412ff Mon Sep 17 00:00:00 2001 From: Adam Jacob Date: Mon, 8 Sep 2008 17:21:14 -0700 Subject: Purge should log and notify as well --- lib/chef/provider/apt.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/chef') 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 -- cgit v1.2.1