Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Install nginx::source chef recipe without starting nginx right after installation #406

Closed
Blasterdick opened this issue Apr 8, 2016 · 3 comments

Comments

@Blasterdick
Copy link

I need to install nginx::source chef recipe without starting nginx right after installation. How can I do it?

Found template sv-nginx-run.erb, which seems to have

exec <%= node['nginx']['src_binary'] %> -c <%= node['nginx']['dir'] %>/nginx.conf

line to run nginx.

Am I on the right way? Can I rewind it somehow with my wrapper cookbook to remove that line and get what I need?

@stevenhair
Copy link

As far as I can tell, there's no option to not restart nginx with this recipe, meaning that if you end up with a bad config on your server, you need to manually remove it. Either changing the default behavior or adding a flag to not restart nginx would be nice.

@tas50
Copy link
Contributor

tas50 commented Sep 17, 2017

Thanks for opening this issue. Just today we merged the changes from the chef_nginx fork of this cookbook back to master here. It’s a pretty huge change set and includes over a year of active development that resulted in several major releases. I think there’s a very high chance that this issue has been resolved with that work and at this point I’m going to close this issue out. I’d encourage you to checkout the master branch and please open this issue back up if you’re still having the problem there.

Here’s the changes that were just merged in: #435

@tas50 tas50 closed this as completed Sep 17, 2017
@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants