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

what's the best way to ensure a certain version of nginx package gets installed #66

Closed
chaoranxie opened this issue May 31, 2013 · 2 comments · Fixed by #132
Closed

Comments

@chaoranxie
Copy link

It seems that currently the module does not have a way to supply a version of the nginx version that you want. What would be the best way to enable that? add an extra parameter? or does puppet or this module allow you to do it some other way. Thanks

@jfryman
Copy link
Contributor

jfryman commented Jun 3, 2013

This module at this time doesn't have the ability to dynamically set the package version, but that'd be relatively easy to do if you wanna work up a PR.

Basically, setup a parameter in Class[nginx] that cascades to Class[nginx::package] and sets the version. Make sure there is a default in the params class that the module can fall back to if need be.

@apenney
Copy link

apenney commented Sep 4, 2013

#132 handles this.

jfryman pushed a commit that referenced this issue Sep 4, 2013
#66: This commit allows you to set package_ensure in nginx and have that
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 a pull request may close this issue.

3 participants