I've forked and locally modified the archive module to accept an array for the source attribute, and fetch each URL in turn until success or the last one is tried, whichever comes first.
This is intended to behave similarly to Puppet's built-in file resource.
I haven't figured out how to allow multiple checksum or remote_checksum attributes in coordination with multiple source attributes. Suggestions welcome.
As soon as I get around to implementing tests, I'll submit a PR.
I've forked and locally modified the
archivemodule to accept an array for thesourceattribute, and fetch each URL in turn until success or the last one is tried, whichever comes first.This is intended to behave similarly to Puppet's built-in
fileresource.I haven't figured out how to allow multiple
checksumorremote_checksumattributes in coordination with multiplesourceattributes. Suggestions welcome.As soon as I get around to implementing tests, I'll submit a PR.