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

Proxy recipe should include nginx only based on configurabe attribute #307

Closed
joerg opened this issue Mar 6, 2015 · 1 comment
Closed

Comments

@joerg
Copy link

joerg commented Mar 6, 2015

If nginx is somehow installed using another method or directly using the nginx::package recipe this recipe will be included. For me, there are currently two cookbooks constantly overwriting nginx.conf (the accoding cookbook is elkstack::kibana)
Something like this:

include_recipe "elasticsearch::nginx" unless ( node.recipe?('nginx') && node['elasticsearch']['do_not_install_nginx'] )
@martinb3
Copy link
Contributor

martinb3 commented Jul 7, 2015

Hello! We've re-written the cookbook using libraries that expose resources and providers, so you shouldn't see this problem on the newer version; we've unfortunately removed the nginx functionality. We feel that using the nginx cookbook directly is a better fit than having us maintain nginx configuration in two places. Hope this helps!

@martinb3 martinb3 closed this as completed Jul 7, 2015
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

No branches or pull requests

2 participants