diff options
| author | Brice Figureau <brice-puppet@daysofwonder.com> | 2008-12-06 16:53:03 +0100 |
|---|---|---|
| committer | Brice Figureau <brice-puppet@daysofwonder.com> | 2008-12-06 16:53:03 +0100 |
| commit | 435f1e9b52e11bc558405f2102c61db84fea03c2 (patch) | |
| tree | 7df108d0b3d6466490985e3136110178f5274253 /lib/puppet/transaction | |
| parent | 6b30171435583b1a69c4ffe7b8b1760f5585cd38 (diff) | |
Fix #1483 - use REST to transmit reports over the wire
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib/puppet/transaction')
| -rw-r--r-- | lib/puppet/transaction/report.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/puppet/transaction/report.rb b/lib/puppet/transaction/report.rb index 89da7ed9c..e5b8650bb 100644 --- a/lib/puppet/transaction/report.rb +++ b/lib/puppet/transaction/report.rb @@ -11,7 +11,13 @@ class Puppet::Transaction::Report indirects :report, :terminus_class => :processor attr_accessor :logs, :metrics, :time, :host - + + # This is necessary since Marshall doesn't know how to + # dump hash with default proc (see below @records) + def self.default_format + :yaml + end + def <<(msg) @logs << msg return self |
