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

Strange Issue With Database Adapter #15

Open
nick123pig opened this issue Oct 12, 2015 · 0 comments
Open

Strange Issue With Database Adapter #15

nick123pig opened this issue Oct 12, 2015 · 0 comments

Comments

@nick123pig
Copy link

I'm getting weird behavior with my database.yml file. I'm using a standard setup.

In my chef log, I have the following:

[2015-10-12T03:55:30+00:00] INFO: No database adapter specified for app, guessing
[2015-10-12T03:55:30+00:00] INFO: Looks like app uses mysql2 in its Gemfile

Then down the line I see

[2015-10-12T03:55:30+00:00] INFO: Processing template[/srv/www/app/shared/config/database.yml] action create (opsworks_delayed_job::configure line 11)
[2015-10-12T03:55:30+00:00] INFO: template[/srv/www/app/shared/config/database.yml] backed up to /root/.chef/local-mode-cache/backup/srv/www/app/shared/config/database.yml.chef-20151012035530.839912
[2015-10-12T03:55:30+00:00] INFO: template[/srv/www/app/shared/config/database.yml] updated file contents /srv/www/app/shared/config/database.yml

My new database.yml file doesn't have a database adapter

development:
  adapter: ""
  ...

production:
  adapter: ""
  ...
staging:
  adapter: ""
  ...

However, that cached version does.

I commented this out, but I'm wondering if anyone else is seeing this

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