This PR adds a parameter to make generating archive requests from an ENC easier.
Ensures that tempfile used for downloading gets deleted.
Ensures that the cleanup
param is honored.
Fixes #328
Adds missing docs and validation for the checksum_url
attribute.
Fixes #471
modulesync 5.4.0
<!--
Thank you for contributing to this project!
-->
I suggest using newest version aws cli v2, according to documentation: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
Also, current package version have same problem due to end of support for Python 2.7: https://aws.amazon.com/ru/blogs/developer/announcing-end-of-support-for-python-2-7-in-aws-sdk-for-python-and-aws-cli-v1/
Add authentication headers to artifactory functions archive::artifactorylatesturl and archive::artifactory_checksum
Fixes #489
The Windows Puppet agent fails to download archive resources due to SSL validation failure when the "source" is using a certificate issued by a private CA. The failure occurs even when the Puppet agent is configured with a custom "ssltruststore" that contains the CA chain.
This patch changes the Windows download behavior by defining the following order for the SSL trust store:
1. The "ssltruststore" setting from the "agent" section of "puppet.conf"
2. The "SSLCERTFILE" value from the runtime environment
3. The module-bundled ".pem" file as a last resort.
Fixes issue reported at: https://tickets.puppetlabs.com/browse/PUP-11349
The use of chdir is problematic in threaded environments (only one thread may chdir) and Puppet has a native method for this. See https://github.com/puppetlabs/puppet/pull/9387 for more information.
It also simplifies the detection of %s
in custom_command
by using the cheaper include? method. The safe operator makes it even shorter.
<!--
Thank you for contributing to this project!
-->
add onlyif and unless parameter.
for example, being able to download an archive if a command exit 0 or 1
i use some code from puppetlabs exec provider to add this features