-
-
Notifications
You must be signed in to change notification settings - Fork 875
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
support for nginx passenger debian repositories #145
Conversation
A configuration for serving
|
} | ||
} | ||
'passenger': { | ||
if !defined( Package['apt-transport-https'] ) { package { 'apt-transport-https': ensure => present } } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not a fan of this pattern. What about ensure_resource
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I found this approach when I was trying to avoid duplicate resource declaration. ensure_resource
is definitely more elegant.
Should be fixed, thanks for comments. Any other suggestions? |
support for nginx passenger debian repositories
Nope, looks good. Thanks! |
Revert "Merge pull request voxpupuli#145 from deric/master" This reverts commit c314aa6, reversing changes made to 315d7e1.
Phusion company now provides nginx packages with precompiled passenger support
usage:
By default nginx.org repository would be used, if
package_source => ''
no apt repository would be added, so default distribution ngxinx package would be used.