[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

test branch puppet-dev at googlegroups.com
Wed Jul 14 10:30:57 UTC 2010


The following commit has been merged in the upstream branch:
commit 60515991a93df79d1d34e0df0d8a7d99ab0f4fac
Author: Luke Kanies <luke at reductivelabs.com>
Date:   Tue Jan 19 17:59:02 2010 -0800

    Fixing log message when changes fail
    
    Signed-off-by: Luke Kanies <luke at reductivelabs.com>

diff --git a/lib/puppet/transaction/change.rb b/lib/puppet/transaction/change.rb
index b3aac5a..6ecb93c 100644
--- a/lib/puppet/transaction/change.rb
+++ b/lib/puppet/transaction/change.rb
@@ -38,9 +38,7 @@ class Puppet::Transaction::Change
         result = event()
         result.status = "failure"
 
-        is = property.is_to_s(is)
-        should = property.should_to_s(should)
-        result.message = "change from #{is} to #{should} failed: #{detail}"
+        result.message = "change from #{property.is_to_s(is)} to #{property.should_to_s(should)} failed: #{detail}"
         result.send_log
         result
     end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list