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

Add support for Artifactory checksum headers and enable SHA1 checksum type

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.17.0
    • Docs
    • Enhancement
    • Puppet can now retrieve file content from artifactory using an HTTP(S) source parameter.

    Description

      I've created a patch to add support for the artifactory HTTP headers:
      X-Checksum-Md5
      X-Checksum-Sha1
      X-Checksum-Sha256

      to the file resource, when used with an http source. I've also enabled sha1 support as a checksum type. This was already in the code, and with the open source version of artifactory it is the strongest checksum type available.

      The code will prioritize sha256, then sha1, then md5 from artifactory, then content-md5 from apache digest.

      This reduces resource flapping if the source is an artifactory server.

      https://github.com/puppetlabs/puppet/pull/4828

      A newer PR was filed in https://github.com/puppetlabs/puppet/pull/5707

      Attachments

        Issue Links

          Activity

            People

              josh Josh Cooper
              dcochran1 Dylan Cochran
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support