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

Conditionally adding the packages if they are not added previously #851

Merged
merged 1 commit into from
Aug 11, 2016
Merged

Conditionally adding the packages if they are not added previously #851

merged 1 commit into from
Aug 11, 2016

Conversation

Faffnir
Copy link

@Faffnir Faffnir commented Aug 11, 2016

We faced the problem that when using the puppet-nginx module and managing ca-certificates on our own it will bring up problems only because of assigning the same resource twice.

(ensure_resources() would be nice to use but I didn't want to add additional dependencies)

@3flex
Copy link
Contributor

3flex commented Aug 11, 2016

Would using ensure_packages work for you? If so I'd rather use that for apt-transport-https and ca-certificates. However the passenger package should not use ensure_packages because by installing it with this module the assumption is that the package would not be declared elsewhere.

@Faffnir
Copy link
Author

Faffnir commented Aug 11, 2016

Absolutely correct and thank you for pointing me to it!

@3flex
Copy link
Contributor

3flex commented Aug 11, 2016

That's great, thanks! Could you please squash the two commits to a single commit and I'll get this merged.

Replaced the not defined statements with a more practical ensure_packages and removed the not defined from passenger becase it should be defined only once
@Faffnir
Copy link
Author

Faffnir commented Aug 11, 2016

All done!

@3flex 3flex merged commit 2b566d0 into voxpupuli:master Aug 11, 2016
3flex added a commit that referenced this pull request Aug 12, 2016
Merge Request #851 introduced a wrong order of installation
darken99 pushed a commit to darken99/puppet-nginx that referenced this pull request Oct 13, 2016
cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Sep 13, 2019
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
Conditionally adding the packages if they are not added previously
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
Merge Request voxpupuli#851 introduced a wrong order of installation
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

Successfully merging this pull request may close these issues.

2 participants