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
Add database connection helper #61
Conversation
Please fix Rubocop whitespace and tell it to ignore other error, then LGTM. |
@patcon It looks good! Let's move the default port management to this new |
Thanks :) Would it not make sense that the order of derivation is as follows:
node (just attributes) Mixing that up could lead to wonky unexpected behaviour in some use-cases. Like it someone sets database type in the databag, and the conf database connection helper isn't using settings as the source of truth. Sorry, maybe I'm being pedantic :) I don't even use the databag feature, but it seems EDIT: Heh. On second thought, it's all good. I'll make your suggested change later :) |
Oh, yeah. It sounds reasonable. Then let it be as is. Please, fix the Rubocop warnings |
bca2b9a
to
da42eb9
Compare
Ah, lost track of this, but fixed the rubocop errors. Should be good to merge :) |
Testing cleanly against |
@@ -20,14 +20,20 @@ platforms: | |||
image: centos-7-0-x64 | |||
|
|||
- name: ubuntu-12.04 | |||
run_list: | |||
- recipe[apt] |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
@patcon Thanks! |
Add database connection helper
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. |
Addresses #56
As mentioned in that issue, this is to simplify wrapper cookbooks.