Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

puppet::server::passenger requires apache #64

Closed
bmcclure opened this issue Oct 9, 2013 · 3 comments · Fixed by #65
Closed

puppet::server::passenger requires apache #64

bmcclure opened this issue Oct 9, 2013 · 3 comments · Fixed by #65

Comments

@bmcclure
Copy link
Contributor

bmcclure commented Oct 9, 2013

puppet::server::passenger requires apache, while it actually works perfectly fine on nginx as well.

I am trying to use this module to deploy puppet and puppetmaster configuration on all of my servers, but in order to get the right service settings I need to set 'passenger' to true. However, I don't want it to include or install anything for Apache.

Is there an easy way for me to accomplish this just by creating a my_puppet class to include? I planned to create a my_puppet::passenger class which configures nginx and passenger properly, but it seems like I still need some way to set puppet::passenger to true to prevent it from auto-starting and monitoring the service.

@bmcclure
Copy link
Contributor Author

bmcclure commented Oct 9, 2013

It seems like maybe just an extra parameter on the puppet module like $passenger_apache, which could default to true to retain the current behavior, would solve this issue. You could then just wrap the two include statements in puppet::server::passenger in a conditional, and if using nginx or another server type it would be up to the class defined in $my_class to configure the passenger server itself.

@bmcclure
Copy link
Contributor Author

bmcclure commented Oct 9, 2013

Attempting to solve this in my own fork, I still need to do more testing, but will make a pull request when it's ready. In the meantime, here's my approach so far:

VolantisOps@98cd658

@bmcclure
Copy link
Contributor Author

This can be closed now that the mentioned pull request has been merged. Thanks for doing that!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant