On Jun 5, 2007, at 3:28 PM, Jamis Buck wrote: > :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
Well I might just look into a patch. Your solution brings me to a problem I was pondering earlier, namely: What's the proper way to get the host's name when in a task? I looked at using execute_on_servers, but was derailed by the 'put' method which served my purposes. Although I wish I didn't have to do File.read() on that one.... Thanks for the help, Jamis. -Mat --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
