Hello all,
I'm attempting to create a general recipe that I can use for deploying
any drupal site. It's currently a WIP, but what I have at the moment
should be working... which it's not. I'm probably putting some things
in the wrong files, but I'm not sure.
When I do "cap staging deploy:setup" or even just "cap -T," I receive
this error:
* executing "ls -x /u/apps/sandbox/releases"
no servers found to match {:once=>true}
My file structure is the following:
* Capfile
* config/
** deploy/
*** staging.rb
*** production.rb
** deploy.rb
** includes/
*** recipes/
**** drupal.rb
**** overrides.rb
**** drupal/
***** config.rb
***** db.rb
* drupal/
** <all drupal site files>
Here is the source for my files:
Capfile => http://pastie.org/1174485
deploy.rb => http://pastie.org/1174513
staging.rb/production.rb => http://pastie.org/1174492
overrides.rb => http://pastie.org/1174516
drupal.rb => http://pastie.org/1174511
drupal/db.rb => http://pastie.org/1174505
drupal/config.rb => http://pastie.org/1174518
Now I may not be doing everything as efficiently as possible at the
moment, but that is secondary to getting this to actually work in a
multistage environment.
I have a feeling it's trying to look at certain variables before the
files that contain those variables are loaded or something similar.
Any suggestions are greatly appreciated!
Thanks,
Joe
--
* You received this message because you are subscribed to the Google Groups
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/capistrano?hl=en