summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-07-24 00:33:55 -0700
committerLuke Kanies <luke@madstop.com>2009-08-01 12:50:42 -0700
commit6f458cca5379229da066787045b74acafb184c07 (patch)
tree664166d819affd44a76af17e9b79dde0c1b9be45 /lib
parentac58e274c409b69073e304a8355bbe4ccb37350a (diff)
downloadpuppet-6f458cca5379229da066787045b74acafb184c07.tar.gz
puppet-6f458cca5379229da066787045b74acafb184c07.tar.xz
puppet-6f458cca5379229da066787045b74acafb184c07.zip
Logging the configuration version we're applying
This is just an additional info log in the transaction, and is only done if the version is non-nil. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/transaction.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/transaction.rb b/lib/puppet/transaction.rb
index c0b4c0e65..f57eda6c9 100644
--- a/lib/puppet/transaction.rb
+++ b/lib/puppet/transaction.rb
@@ -281,6 +281,8 @@ class Transaction
prepare()
+ Puppet.info "Applying configuration version '%s'" % catalog.version if catalog.version
+
begin
allevents = @sorted_resources.collect { |resource|
if resource.is_a?(Puppet::Type::Component)