[chef] Re: deploy resource and capistrano


Chronological Thread 
  • From: Spike Grobstein < >
  • To:
  • Subject: [chef] Re: deploy resource and capistrano
  • Date: Tue, 2 Apr 2013 16:51:54 -0400

What we do is duplicate a lot of the `deploy:setup` task from Capistrano in Chef (creation of directories), and add a little more in (creation of configuration files for the given application/environment) and then do a manual `HOSTS="new-server.example.com" cap deploy` after that completes.

I've been trying to figure out if it would be better to also duplicate the entire deployment process from Capistrano to get a fresh copy of the app deployed to the new server, but something about it just feels wrong, so we've stuck with the manual process.



...spike


On Apr 2, 2013, at 4:30 PM, Dan Berman wrote:

They both symlink the current directory so I'd imagine the most recent one ran would take it over, no?

I've used the deploy resource to set up the initial directory then deployed changes afterwards with Capistrano


On Sun, Mar 17, 2013 at 12:16 PM, Sam Cooper < " target="_blank"> > wrote:
Can app deploys via the deploy resource be setup such that capistrano deploys can work there also ?





Archive powered by MHonArc 2.6.16.

§