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

WIP: Add support for package install options #164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yorickps
Copy link

@yorickps yorickps commented Aug 4, 2021

Pull Request (PR) description

Add support for package install options.
See puppet package resource for more info:
https://puppet.com/docs/puppet/7/types/package.html#package-attribute-install_options

manifests/install.pp Outdated Show resolved Hide resolved
@yorickps
Copy link
Author

yorickps commented Aug 4, 2021

@kenyon thanks for the review, fixed the accidental mistake.

kenyon
kenyon previously requested changes Aug 4, 2021
Copy link
Member

@kenyon kenyon left a comment

Choose a reason for hiding this comment

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

Can you also add a test that uses this new parameter? https://github.com/voxpupuli/puppet-fail2ban/blob/master/spec/classes/init_spec.rb
Thanks!

manifests/init.pp Outdated Show resolved Hide resolved
@bastelfreak bastelfreak added the enhancement New feature or request label Aug 5, 2021
@yorickps yorickps force-pushed the install_options branch 2 times, most recently from fa27150 to 5b5527f Compare August 5, 2021 16:03
@kenyon kenyon self-requested a review August 5, 2021 17:59
@yorickps yorickps changed the title Add support for package install options WIP: Add support for package install options Aug 5, 2021
See puppet package resource for more info
<https://puppet.com/docs/puppet/7/types/package.html#package-attribute-install_options>

Better define type

Set to undef

Add spec test for package_install_options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants