- From: Daniel Cukier <
>
- To: Daniel Cukier <
>
- Cc: "
" <
>
- Subject: [chef] Re: database.yml is not being generated by application cookbook
- Date: Sat, 12 May 2012 18:19:07 -0300
Hi guys,
Sorry for insisting, but I really need someone in this list who could
help me with this issue...
Anyone?
Regards
Daniel
On 25/04/2012, at 17:44, Daniel Cukier
<
>
wrote:
>
I'm using the application cookbook for a rails application and it is not
>
properly generating the database.yml file.
>
>
It downloads the application from git, installs it in the right directory,
>
but without database.yml
>
>
Does anybody know what could it be?
>
>
Here is my app databag file (note that I'm using an environment called
>
'integration' to test it)
>
>
{
>
"group": "ubuntu",
>
"server_roles": ["my_app"],
>
"repository": "GIT_URL",
>
"force": {
>
"production": false
>
},
>
"migrate": {
>
"production": true
>
},
>
"snapshots_to_keep": {
>
"production": "3"
>
},
>
"databases": {
>
"integration": {
>
"reconnect": "true",
>
"encoding": "iso-8859-1",
>
"adapter": "mysql2",
>
"username": "USERNAME",
>
"database": "DATABASE",
>
"host": "HOST",
>
"password": "PASSWORD"
>
},
>
"production": {
>
"reconnect": "true",
>
"encoding": "iso-8859-1",
>
"adapter": "mysql2",
>
"username": "USERNAME",
>
"database": "DATABASE",
>
"host": "HOST",
>
"password": "PASSWORD"
>
}
>
},
>
"packages": {
>
"git": "",
>
"libmysqlclient-dev": ""
>
},
>
"memcached": {},
>
"id": "my_app",
>
"type": {
>
"my_app": ["rails", "unicorn"]
>
},
>
"revision": {
>
"integration": "master",
>
"production": "production"
>
},
>
"gems": {
>
"bundler": "1.0.21"
>
},
>
"deploy_key": "",
>
"deploy_to": "/var/apps/my_app",
>
"owner": "ubuntu"
>
}
>
>
Thanks
>
>
Daniel Cukier
>
Software Artist
>
- [chef] Re: database.yml is not being generated by application cookbook, Daniel Cukier, 05/12/2012
Archive powered by MHonArc 2.6.16.