It shouldn't matter, actually, since Capistrano will only connect to distinct hosts. Consider the case where a host exists in two different roles (e.g. :web and :app). Tasks set to run on both :web and :app would get that host twice in the resulting host list, so Capistrano has to make sure and remove duplicates just before executing tasks.
- Jamis On Fri, Oct 9, 2009 at 11:29 AM, Joe McDonagh <[email protected]> wrote: > > Anybody think of a good way to trim duplicate hosts in a role? > > I realize this probably never happens to most of you, but I fill in > dynamic roles via two DB's and there is a possibility of duplicating a > host. Part of this is an architectural problem that I will fix in due > time, however this would be nice to figure out. > > -- > Joe McDonagh > Operations Engineer > www.colonfail.com > > > > > --~--~---------~--~----~------------~-------~--~----~ 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.co.uk/group/capistrano?hl=en -~----------~----~----~----~------~----~------~--~---
