diff options
Diffstat (limited to 'lib/puppet/transaction/change.rb')
-rw-r--r-- | lib/puppet/transaction/change.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/transaction/change.rb b/lib/puppet/transaction/change.rb index 0f2ed5788..c8acec88b 100644 --- a/lib/puppet/transaction/change.rb +++ b/lib/puppet/transaction/change.rb @@ -33,14 +33,14 @@ class Puppet::Transaction::Change property.sync - result = event() + result = event result.message = property.change_to_s(is, should) result.status = "success" result.send_log result rescue => detail puts detail.backtrace if Puppet[:trace] - result = event() + result = event result.status = "failure" result.message = "change from #{property.is_to_s(is)} to #{property.should_to_s(should)} failed: #{detail}" |