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

Allow s3 sources for download uris #368

Merged
merged 1 commit into from
Sep 19, 2019
Merged

Conversation

hooten
Copy link

@hooten hooten commented Sep 16, 2019

Pull Request (PR) description

This PR adds the ability to specify an AWS S3 uri as the download uri source for a given archive, e.g.,

archive { 'prometheus::service':
  source => s3://mybucket/path/to/object`
  ...
}

The PR does so by adding a type alias for Uri which is a Variant of http, https, and s3 and using it as the type of various download_url in class definitions.

Using S3 buckets is already supported for the Archive module. This change merely relaxes the type validation in order to add said support.
https://github.com/voxpupuli/puppet-archive/blob/master/README.md#s3-bucket

This Pull Request (PR) fixes the following issues

n/a

@hooten
Copy link
Author

hooten commented Sep 16, 2019

I'd appreciate a review when you get a chance @bastelfreak or @dhollinger. Thanks!

@bastelfreak bastelfreak added the enhancement New feature or request label Sep 19, 2019
@bastelfreak
Copy link
Member

Thanks for the PR @hooten !

@bastelfreak bastelfreak merged commit c074197 into voxpupuli:master Sep 19, 2019
@hooten hooten deleted the s3_source branch September 20, 2019 15:09
@hooten
Copy link
Author

hooten commented Sep 20, 2019

Thanks for the review @bastelfreak !

cegeka-jenkins pushed a commit to cegeka/puppet-prometheus that referenced this pull request Jan 21, 2021
Allow s3 sources for download uris
Rovanion pushed a commit to Rovanion/puppet-prometheus that referenced this pull request May 5, 2021
Allow s3 sources for download uris
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants