From 60515991a93df79d1d34e0df0d8a7d99ab0f4fac Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Tue, 19 Jan 2010 17:59:02 -0800 Subject: Fixing log message when changes fail Signed-off-by: Luke Kanies --- lib/puppet/transaction/change.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/puppet') diff --git a/lib/puppet/transaction/change.rb b/lib/puppet/transaction/change.rb index b3aac5a32..6ecb93c37 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 -- cgit