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

Remove http file content terminus

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 7.0.0
    • None
    • Bug Fix
    • Hide
      It is no longer possible to retrieve http file content using the indirector. Use puppet's builtin HTTP client instead:

      client = Puppet.runtime[:http]
      response = client.get(URI("http://example.com/path"))
      Show
      It is no longer possible to retrieve http file content using the indirector. Use puppet's builtin HTTP client instead: client = Puppet.runtime[:http] response = client.get(URI(" http://example.com/path "))
    • Needs Assessment

    Description

      Puppet no longer retrieves http(s) file content using the indirector so,

      Remove the Puppet::Indirector::FileContent::Http terminus
      Delete the find method in Puppet::Indirector::GenericHttp
      Update Puppet::Indirector::FileMetadata::Http to use the http client if it hasn't already been done.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support