diff options
author | Luke Kanies <luke@reductivelabs.com> | 2010-01-19 17:59:02 -0800 |
---|---|---|
committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
commit | 60515991a93df79d1d34e0df0d8a7d99ab0f4fac (patch) | |
tree | 9f6e4f4df6464b089a20cc67a8e2b45fb98f3e7e /lib/puppet/transaction/change.rb | |
parent | 149d5efa667e3f3cdaa3f50347216509392028da (diff) | |
download | puppet-60515991a93df79d1d34e0df0d8a7d99ab0f4fac.tar.gz puppet-60515991a93df79d1d34e0df0d8a7d99ab0f4fac.tar.xz puppet-60515991a93df79d1d34e0df0d8a7d99ab0f4fac.zip |
Fixing log message when changes fail
Signed-off-by: Luke Kanies <luke@reductivelabs.com>
Diffstat (limited to 'lib/puppet/transaction/change.rb')
-rw-r--r-- | lib/puppet/transaction/change.rb | 4 |
1 files changed, 1 insertions, 3 deletions
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 |