Do you want to unset a role because you do not want it to run on a task? If not why do you want to unset a role?
Stephen Becker IV On Sep 18, 9:18 pm, "Jamis Buck" <[EMAIL PROTECTED]> wrote: > roles are current immutable, once set, unless you go digging through > the bowels of capistrano. If this is something you find yourself doing > often, please consider submitting a patch. > > - Jamis > > On 9/18/07, Tim <[EMAIL PROTECTED]> wrote: > > > > > How can I clear out any instances of a role? I know you can use the > > unset method for variables, but it doesn't seem to work for roles. > > config = Capistrano::Configuration.new > > config.role :app, "foo.foo.local" > > ... > > config.unset(:app) # Want to know if this is possible --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
