Sha256: 2041bbab8af50a0acb073058f6c2bbf6057be266a0c6c1264bff0907177639b2

Contents?: true

Size: 416 Bytes

Versions: 4

Compression:

Stored size: 416 Bytes

Contents

require 'puppet/indirector/rest'

class Puppet::Transaction::Report::Rest < Puppet::Indirector::REST
  desc "Get server report over HTTP via REST."
  use_server_setting(:report_server)
  use_port_setting(:report_port)
  use_srv_service(:report)

  private

  def deserialize_save(content_type, body)
    format = Puppet::Network::FormatHandler.protected_format(content_type)
    format.intern(Array, body)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puppet-3.2.4 lib/puppet/indirector/report/rest.rb
puppet-3.2.3 lib/puppet/indirector/report/rest.rb
puppet-3.2.3.rc1 lib/puppet/indirector/report/rest.rb
puppet-3.2.2 lib/puppet/indirector/report/rest.rb