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

Conditionally create default_site web_app #323

Merged

Conversation

gsreynolds
Copy link
Contributor

Just noticed another minor issue with the default site, this time with default_site_enabled set to false 😄. The default_site web_app definition is enabled conditionally but is unconditionally created. With default_site_enabled set to false, currently the default site will be deleted from sites-available but subsequently created by the web_app definition again.

Wrapped the web_app definition with an if statement since it can't take an only_if guard and amended the specs to better reflect the default.rb recipe.

…ce the web_app definition can't take an only_if guard, wrapped with an if statement. Specs now reflect the intended behaviour.
svanzoest added a commit that referenced this pull request Mar 18, 2015
…web_app

Conditionally create default_site web_app to avoid creation of the configuration file in `sites-available`.
@svanzoest svanzoest merged commit 26697d0 into sous-chefs:master Mar 18, 2015
@lock
Copy link

lock bot commented Jul 24, 2018

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 Jul 24, 2018
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 this pull request may close these issues.

None yet

2 participants