voxpupuli / puppet-archive

Compressed archive file download and extraction with native types/providers for Windows and Unix
https://forge.puppet.com/puppet/archive
Apache License 2.0
59 stars 176 forks source link

Write downloaded files as binary #442

Closed benohara closed 3 years ago

benohara commented 3 years ago

Downloading from puppet:/// urls to windows creates corrupt files, write as binary to fix

benohara commented 3 years ago

This fixes https://github.com/voxpupuli/puppet-splunk/issues/311

benohara commented 3 years ago

Same fix as implemented for http in https://github.com/voxpupuli/puppet-archive/commit/e82d86e6327bd1e3a499bd837f27356337e8e9a1#diff-105fe3761724bc0c0c5cfee18d2290cb68c0df137241545b74384f07dfd7ef7a