[chef] Re: Re: Re: deploy resource and capistrano


Chronological Thread 
  • From: Patrick Mulder < >
  • To:
  • Subject: [chef] Re: Re: Re: deploy resource and capistrano
  • Date: Wed, 3 Apr 2013 08:38:40 +0200

Thanks a lot, Dan!

That is a great blueprint for starters. Interesting to see that you bundle up the Ruby version with the basebox. I'll guess it is the most stable approach, since having a Ruby environment manager on top of the basebox is part of my headaches (and it is a habit which is might not be needed with VMs)

I'll try your combination and let you know how it goes.

Patrick



On Wed, Apr 3, 2013 at 12:50 AM, Dan Berman < " target="_blank"> > wrote:
Hey Patrick, 

Cookbook / Berksfile / Vagrantfile https://github.com/panckreous/chef-playground

Feel free to hit me up directly if you need more help ( " target="_blank"> ) or reply here, whatever the etiquette is


On Tue, Apr 2, 2013 at 6:43 PM, Dan Berman < " target="_blank"> > wrote:
Hey Patrick, 

Cookbook / Berksfile / Vagrantfile https://github.com/panckreous/chef-playground

Feel free to hit me up directly if you need more help ( " target="_blank"> ) or reply here, whatever the etiquette is


On Tue, Apr 2, 2013 at 4:51 PM, Spike Grobstein < " target="_blank"> > wrote:
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.

§