On 26 March 2013 12:25, Jesper Rønn-Jensen <[email protected]> wrote:
> Thanks for your reply.
Any time, keep in mind, I'm speaking about as-yet unreleased stuff, so
YMMV, no warranty, etc.
You iterate over "hosts" in the example like this:
>
> on hosts do |host|
> ...
> end
>
When I understand the way it's been build properly (and I haven't written
that part of the code myself) - the roles are available through a variable
that you can treat in a similar fashion, but `on(roles)` is meaningless,
you'd need to do `roles.each { |role| on(role.hosts) }` or something.
However, I haven't written the Cap v3. role code, you'll have to go
spelunking in the code, sorry.
--
--
* 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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.