diff options
author | Luke Kanies <luke@madstop.com> | 2008-08-07 18:21:45 -0700 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-08-07 18:21:45 -0700 |
commit | a31c578e73ed76903c6382016e46b9d6aef34457 (patch) | |
tree | 8bbbc229656fcffe6baea233a8138aecf33a4030 /lib/puppet/indirector/ssl_file.rb | |
parent | 09ee814a8203c33c074a09e5a9802adc395ae309 (diff) | |
download | puppet-a31c578e73ed76903c6382016e46b9d6aef34457.tar.gz puppet-a31c578e73ed76903c6382016e46b9d6aef34457.tar.xz puppet-a31c578e73ed76903c6382016e46b9d6aef34457.zip |
Adding logging when files are removed.
This is currently mostly useful for puppetca.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/indirector/ssl_file.rb')
-rw-r--r-- | lib/puppet/indirector/ssl_file.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/indirector/ssl_file.rb b/lib/puppet/indirector/ssl_file.rb index d93298c8c..4119a656f 100644 --- a/lib/puppet/indirector/ssl_file.rb +++ b/lib/puppet/indirector/ssl_file.rb @@ -68,6 +68,7 @@ class Puppet::Indirector::SslFile < Puppet::Indirector::Terminus path = path(request.key) return false unless FileTest.exist?(path) + Puppet.notice "Removing file %s %s at '%s'" % [model, request.key, path] begin File.unlink(path) rescue => detail |