Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10260

Modify rest termini to call http client

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.14.0
    • Docs
    • None
    • Coremunity
    • Platform Core KANBAN
    • Enhancement
    • Hide
      Modifies puppet to use the new http client for all REST requests. Prior to this release, the agent only used the http client for certificate related requests, such as downloading the CA and CRL bundles, submitting the certificate request (CSR) and downloading the client certificate. This does not change how puppet works when running as a library inside puppetserver.
      Show
      Modifies puppet to use the new http client for all REST requests. Prior to this release, the agent only used the http client for certificate related requests, such as downloading the CA and CRL bundles, submitting the certificate request (CSR) and downloading the client certificate. This does not change how puppet works when running as a library inside puppetserver.
    • Needs Assessment

    Description

      Change builtin rest termini to call the http client.

      lib/puppet/indirector/catalog/rest.rb
      lib/puppet/indirector/facts/rest.rb
      lib/puppet/indirector/file_bucket_file/rest.rb
      lib/puppet/indirector/file_content/rest.rb
      lib/puppet/indirector/file_metadata/rest.rb
      lib/puppet/indirector/node/rest.rb
      lib/puppet/indirector/report/rest.rb
      lib/puppet/indirector/status/rest.rb
      

      Use legacy implementation if Puppet::Network::HTTP::Connection.http_connection_class has been overridden by puppetserver.

      Attachments

        Issue Links

          Activity

            People

              josh Josh Cooper
              josh Josh Cooper
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support