-
Notifications
You must be signed in to change notification settings - Fork 19
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
Installs postgresql even though empty #2
Comments
It should not happen. Let me check what's going wrong. On Tue, May 7, 2013 at 10:17 PM, Jason Garber [email protected]:
Huiming |
Looks like it's coming up as I'm using Chef 11.4.4 and databox 0.1.0 |
@jgarber is correct, the issue is here: https://github.com/teohm/databox-cookbook/blob/master/recipes/default.rb#L11 And a simply change to this should solve the issue: if node["databox"]["databases"]["postgresql"].any?
include_recipe "databox::postgresql"
end That ensures that empty list of DBs do not install the opposite engine. Hope that helps. |
Thanks Luis, I will try to release a patch this weekend. On Thu, May 9, 2013 at 5:12 AM, Luis Lavena [email protected]:
Huiming |
@teohm thank you. I might send some pull requests soon as I just started playing with these recipes. Thank you for sharing! ❤️ |
@teohm pull request sent! |
Fixed in my fork, and released as version 0.1.2. |
Is it just me or is it installing Postgres even though I only specified mysql ones? Running chef 11.4.4 on precise64-vanilla with databox and rackbox.
The text was updated successfully, but these errors were encountered: