- From: Andrea Campi <
>
- To: "
" <
>
- Subject: [chef] Re: Re: https://github.com/opscode-cookbooks/application
- Date: Sun, 11 Nov 2012 19:55:02 +0100
On Sun, Nov 11, 2012 at 7:34 PM, Nilesh <
">
> wrote:
>
> Thanks. I am happy to note I am 95% of the way :)
>
> myapp is generic composed via rails new myapp -m
https://raw.github.com/RailsApps/rails-composer/master/composer.rb -T and available at
https://github.com/lvnilesh/myapp
Uhm, ok, that's odd.
The Chef run fails while creating a symlink from /var/www/shared/database.yml to /var/www/releases/0465c9e08a9f73ba248bf814e9c816599e75dd95/config/database.yml
The log shows /var/www/shared/database.yml was created, so either it's lying, or it can't create the link in your target directory.
The former would be surprising and point to a bug somewhere—can you confirm /var/www/shared/database.yml is indeed there?
Verifying the latter is a bit tricky because the deploy resource (which is used under the hood) rolls back on error.
Add this to your application block: rollback_on_error true
- [chef] Re: https://github.com/opscode-cookbooks/application, (continued)
- [chef] Re: https://github.com/opscode-cookbooks/application, Andrea Campi, 11/10/2012
- [chef] Re: Re: https://github.com/opscode-cookbooks/application, James, 11/10/2012
- [chef] Re: Re: Re: https://github.com/opscode-cookbooks/application, Nilesh, 11/10/2012
- [chef] Re: Re: Re: Re: https://github.com/opscode-cookbooks/application, James, 11/10/2012
- [chef] Re: https://github.com/opscode-cookbooks/application, Nilesh, 11/10/2012
- [chef] Re: Re: https://github.com/opscode-cookbooks/application, Andrea Campi, 11/11/2012
- [chef] Re: https://github.com/opscode-cookbooks/application, Nilesh, 11/11/2012
- [chef] Re: https://github.com/opscode-cookbooks/application, Nilesh, 11/11/2012
- [chef] Re: Re: https://github.com/opscode-cookbooks/application, Andrea Campi, 11/11/2012
- [chef] Re: https://github.com/opscode-cookbooks/application, Nilesh, 11/11/2012
- [chef] Re: Re: https://github.com/opscode-cookbooks/application, Andrea Campi, 11/11/2012
- [chef] Re: https://github.com/opscode-cookbooks/application, Nilesh, 11/11/2012
- [chef] Re: Re: https://github.com/opscode-cookbooks/application, Andrea Campi, 11/11/2012
- [chef] Re: https://github.com/opscode-cookbooks/application, Nilesh, 11/11/2012
- [chef] recipe_eval fixed? (was: https://github.com/opscode-cookbooks/application), Daniel DeLeo, 11/11/2012
- [chef] Re: recipe_eval fixed? (was: https://github.com/opscode-cookbooks/application), Andrea Campi, 11/11/2012
- [chef] Re: Re: recipe_eval fixed? (was: https://github.com/opscode-cookbooks/application), Daniel DeLeo, 11/12/2012
Archive powered by MHonArc 2.6.16.