There is of course the parallel helper [1], slightly different of course, but you aught to focus on more reliable restarts at your end, in 2011 mongrel is a poor choice, and there are many alternatives with better restart semantics.
That's not to preclude it's inclusion, but it'd require some tests, and I don't see the need personally, but I would gladly, gladly take a patch. - Lee [1] https://github.com/capistrano/capistrano/wiki/2.x-DSL-Action-Invokation-Parallel On 20 October 2011 17:48, sfjuggernaut <[email protected]> wrote: > We've found it useful to be able to run a task serially across servers > (http://engineering.lumosity.com/?p=17). > > I'm wondering if either capistrano already has this feature (and we > missed it) or if the community is interested in adding it. If the > latter, where would be the appropriate place to add this > functionality? > > Our current solution is this simple chunk of code (method on > Capistrano::Configuration): > def serialize_task_for(task_name, servers) > servers.each do |server| > task(task_name, :hosts => server) do > yield server > end > eval(task_name) > end > end > > thanks, > eric > > -- > * 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 -- * 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
