Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: allow multiple sources #479

Open
pillarsdotnet opened this issue Dec 12, 2022 · 0 comments
Open

Enhancement: allow multiple sources #479

pillarsdotnet opened this issue Dec 12, 2022 · 0 comments

Comments

@pillarsdotnet
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant