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 override of extract command for archives #54

Merged
merged 1 commit into from
May 20, 2019
Merged

Allow override of extract command for archives #54

merged 1 commit into from
May 20, 2019

Conversation

atward
Copy link

@atward atward commented Aug 22, 2017

Usecase:

The current puppet-archive extraction logic preserves the uid/gid in the tarball when extracting. This will permit users of GNU tar to use something like '--no-same-owner' or similar for their platform.

@@ -1,6 +1,8 @@
# Class prometheus::params
# Include default parameters for prometheus class
class prometheus::params {
class prometheus::params (
$extract_command = undef,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should not be a parameter of the params class

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to change it. Can you please advise how it should be structured/refactored?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be a normal variable and not a parameter.

@bastelfreak bastelfreak added enhancement New feature or request and removed needs-rebase labels May 20, 2019
@bastelfreak bastelfreak merged commit dda74c2 into voxpupuli:master May 20, 2019
cegeka-jenkins pushed a commit to cegeka/puppet-prometheus that referenced this pull request Aug 28, 2019
Allow override of extract command for archives
Rovanion pushed a commit to Rovanion/puppet-prometheus that referenced this pull request May 5, 2021
Allow override of extract command for archives
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.

3 participants