:sequential => true would be a nice option, and I'd certainly  
consider a patch for that. In the meantime, it would require some bit  
of hackery to make it happen. Essentially, capistrano executes each  
command on all matching servers in parallel. To do it in sequence,  
you would need to invoke 'run' with each host in sequence:

   run "command", :host => "first"
   run "command", :host => "second"
   run "command", :host => "third"
   # ...

- Jamis

On Jun 5, 2007, at 12:51 PM, Mat Schaffer wrote:

>
> Is there any way to tell capistrano (1.99.1) to wait a prescribed
> amount of time between performing actions on the hosts?  It looks like
> everything happens in parallel right now.
>
> Basically I'm using capistrano to deploy across a cluster of JBoss
> servers.  If I deploy them sequentially, the load balancer will ensure
> that there is no period of unavailability.  I feel like there should
> be some sort of 'task :sequential => true' option.
>
> Any ideas?
>
> Thanks in advance.
>
> -Mat
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to