Sha256: dfd17f0c68454e9b530bf8fdeb88d66efd6d1af331977703653c5d48b8a294ca

Contents?: true

Size: 410 Bytes

Versions: 246

Compression:

Stored size: 410 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.format_for(content_type)
    format.intern(Array, body)
  end
end

Version data entries

246 entries across 246 versions & 2 rubygems

Version Path
puppet-retrospec-1.5.0 vendor/gems/puppet-4.5.2/lib/puppet/indirector/report/rest.rb
puppet-4.10.8 lib/puppet/indirector/report/rest.rb
puppet-4.10.8-x86-mingw32 lib/puppet/indirector/report/rest.rb
puppet-4.10.8-x64-mingw32 lib/puppet/indirector/report/rest.rb
puppet-4.10.8-universal-darwin lib/puppet/indirector/report/rest.rb
puppet-4.10.7 lib/puppet/indirector/report/rest.rb
puppet-4.10.7-x86-mingw32 lib/puppet/indirector/report/rest.rb
puppet-4.10.7-x64-mingw32 lib/puppet/indirector/report/rest.rb
puppet-4.10.7-universal-darwin lib/puppet/indirector/report/rest.rb
puppet-4.10.6 lib/puppet/indirector/report/rest.rb
puppet-4.10.6-x86-mingw32 lib/puppet/indirector/report/rest.rb
puppet-4.10.6-x64-mingw32 lib/puppet/indirector/report/rest.rb
puppet-4.10.6-universal-darwin lib/puppet/indirector/report/rest.rb
puppet-4.10.5 lib/puppet/indirector/report/rest.rb
puppet-4.10.5-x86-mingw32 lib/puppet/indirector/report/rest.rb
puppet-4.10.5-x64-mingw32 lib/puppet/indirector/report/rest.rb
puppet-4.10.5-universal-darwin lib/puppet/indirector/report/rest.rb
puppet-4.10.4 lib/puppet/indirector/report/rest.rb
puppet-4.10.4-x86-mingw32 lib/puppet/indirector/report/rest.rb
puppet-4.10.4-x64-mingw32 lib/puppet/indirector/report/rest.rb