# File lib/puppet/transaction.rb, line 505 505: def send_report 506: begin 507: report = generate_report() 508: rescue => detail 509: Puppet.err "Could not generate report: %s" % detail 510: return 511: end 512: 513: if Puppet[:summarize] 514: puts report.summary 515: end 516: 517: if Puppet[:report] 518: begin 519: report.save() 520: rescue => detail 521: Puppet.err "Reporting failed: %s" % detail 522: end 523: end 524: end