Hi.  We're beginning to scale our Capistrano config to multiple
servers, and I've gotten stuck on a few points:

1. My understanding is that tasks themselves run only once, no matter
how many servers and roles we have defined, just that "run", "sudo",
and similar methods fork into each matching server/role.  Is that
correct?

So, if a task doesn't use "run" or the like, its invocation will be
identical, even after we define multiple roles.

Is that correct?

2. I also believe that "run" and similar methods will run, in
parallel, on all servers that match the *current* task's roles, even
if the current task was called by a task with a more limited set of
roles.  (If task :a calls :b, and :b does run, the run will happen on
all of :b's roles, even if :a doesn't share them.)  Is this correct
also?

3. What happens if a "run" invoked by a task fails on one server but
not others? Is the whole task considered to have failed (and will then
normally be aborted and have its rollback invoked)?

Thanks!
--~--~---------~--~----~------------~-------~--~----~
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