diff options
Diffstat (limited to 'lib/puppet/transaction.rb')
-rw-r--r-- | lib/puppet/transaction.rb | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/puppet/transaction.rb b/lib/puppet/transaction.rb index 0f94f5a12..83017222f 100644 --- a/lib/puppet/transaction.rb +++ b/lib/puppet/transaction.rb @@ -505,23 +505,13 @@ class Transaction if Puppet[:report] begin - reportclient().report(report) + report.save() rescue => detail Puppet.err "Reporting failed: %s" % detail end end end - def reportclient - unless defined? @reportclient - @reportclient = Puppet::Network::Client.report.new( - :Server => Puppet[:reportserver] - ) - end - - @reportclient - end - # Roll all completed changes back. def rollback @targets.clear |