-
Notifications
You must be signed in to change notification settings - Fork 198
use upstream web server modules like puppetlabs/apache #78
Comments
Thats true. For apache it would be a way to do that with the apache modue. But its possible to do that right now. YOu just need to configure, that this module should not install/manage a webserver. I will think about it for the next major release to refactore it. Or someone can send an Pull Request maybe ;) |
I'd love to see this as well. Right now I'm using the puppetlabs-apache module with a defined vhost for graphite and have to always run puppet 2x to resolve a dependency initially. See error below:
I've not had any luck getting the resource ordering of this module and the puppetlabs-apache module via the |
As far as I know, something like: class { apache: bla => blub }-> should do the trick. |
This brings me to the point, that I will just drop all that built-in Apache support and instead give an README example how to configure things with separate modules. Like
|
@dwerder your last comment would work in my use case. The difficulty I'm finding is getting up and running with graphite and grafana on the same server. Both graphite and grafana have puppet modules but they don't work well together without a lot of intervention. For this use case, this module could configure an I think that'd be a powerful way of utilizing the apache module. Just a thought! |
I agree with @brettswift , it would be really nice to install graphite and grafana (with your modules) on the same server without running into duplicate declaration issues. Current workaround is to disable apache config and just create the vhost manually elsewhere for grafana and graphite? |
It works right now. You can take a look here: echocat/puppet-grafana#8 |
As mention in the ticket above, the next major version 6 will use the puppetlabs/apache module if you |
Thanks @dwerder - that's what I was looking for. Github search-fu was not good apparently. It might be helpful to get that example vhost configuration into the README file. Will the next major release let you inject a vhost name, and port, and encapsulate all the graphite specifics under the hood from the example in echocat/puppet-grafana#8 ? |
Thats the plan |
Should be done, but will not happen at the moment. |
many modules are now depending on upstream httpd configuration modules instead of reinventing the wheel. this makes it easier to use multiple modules together and avoid duplicate package declarations. it would be nice to have here :)
I'm not sure what the "preferred" solution for ngnix is, but puppetlabs/apache seems to be dominating the ecosystem for apache management.
The text was updated successfully, but these errors were encountered: