diff options
author | Tim Smith <tsmith@chef.io> | 2017-09-30 14:02:57 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-02-26 12:22:02 -0800 |
commit | 4b9636a3b2e2b309f35ad418ab6fe27ae995d468 (patch) | |
tree | f00b3215f12a906aad77865beb055e3a76e17d9f | |
parent | ff88ebeda1c9444cd4b10d2a1b0dd8f06a7784ff (diff) | |
download | chef-4b9636a3b2e2b309f35ad418ab6fe27ae995d468.tar.gz |
Add debugging for when we do nothing on the remove action
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/provider/apt_repository.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/provider/apt_repository.rb b/lib/chef/provider/apt_repository.rb index 40a9761a52..8cbab4beca 100644 --- a/lib/chef/provider/apt_repository.rb +++ b/lib/chef/provider/apt_repository.rb @@ -92,8 +92,9 @@ class Chef ignore_failure true action :nothing end - end + else + Chef::Log.debug("/etc/apt/sources.list.d/#{new_resource.name}.list does not exist. Nothing to do") end end |