Details
-
New Feature
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
Coremunity
-
Platform Core KANBAN
-
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
- is duplicated by
-
PUP-9911 Guard against unexpected EOF from ruby/don't commit incomplete files
-
- Closed
-