diff options
author | Luke Kanies <luke@madstop.com> | 2009-07-24 00:33:55 -0700 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2009-08-01 12:50:42 -0700 |
commit | 6f458cca5379229da066787045b74acafb184c07 (patch) | |
tree | 664166d819affd44a76af17e9b79dde0c1b9be45 /lib | |
parent | ac58e274c409b69073e304a8355bbe4ccb37350a (diff) | |
download | puppet-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.rb | 2 |
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) |