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

Initializer config rewrites YML config #297

Open
yukas opened this issue Mar 7, 2015 · 0 comments
Open

Initializer config rewrites YML config #297

yukas opened this issue Mar 7, 2015 · 0 comments

Comments

@yukas
Copy link

yukas commented Mar 7, 2015

I found no explicit mention in documentation about what happens if you use number of initialization methods together, say initializer and yml file.

What happens is settings got merged. This can lead to hard to debug issues, when you have initializer using development settings and yml file for capistrano. What happens is upon deployment you will have:
Fog directory can't be blank, Rackspace username can't be blank, Rackspace api key can't be blank type of errors, because it first loads the YML and then rewrite it in initializer with some wrong or empty values.

I believe making yml file priority higher will solve the issue.

Is this reasonable issue to address or am I just stupid to use both config options?

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

1 participant