summaryrefslogtreecommitdiffstats
path: root/lib/puppet/configurer.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-05-27 10:47:36 -0500
committerJames Turnbull <james@lovedthanlost.net>2009-05-28 07:02:48 +1000
commit62534a1622c710eb52b681d96aca8687c597190c (patch)
treee7ba17fb8cce394b8c0ff61bd7a2e175945de3da /lib/puppet/configurer.rb
parentff5c44f2420864357d1c37635c311913c14d7a8b (diff)
downloadpuppet-62534a1622c710eb52b681d96aca8687c597190c.tar.gz
puppet-62534a1622c710eb52b681d96aca8687c597190c.tar.xz
puppet-62534a1622c710eb52b681d96aca8687c597190c.zip
Logging when a cached catalog is used.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/configurer.rb')
-rw-r--r--lib/puppet/configurer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/configurer.rb b/lib/puppet/configurer.rb
index d9f207143..7db9972dd 100644
--- a/lib/puppet/configurer.rb
+++ b/lib/puppet/configurer.rb
@@ -103,6 +103,7 @@ class Puppet::Configurer
duration = thinmark do
result = catalog_class.find(name, fact_options.merge(:ignore_terminus => true))
end
+ Puppet.notice "Using cached catalog"
rescue => detail
puts detail.backtrace if Puppet[:trace]
Puppet.err "Could not retrieve catalog from cache: %s" % detail