Mike, Not currently, no. Namespaces have zero functionality other than to scope the names.
- Jamis On 1/27/09 4:03 AM, Mike Bailey wrote: > Thanks Lee, > > I was actually wondering about whether I can set :role => :web for a > namespace. > > namespace :deprec do > namespace :apache, :roles => :web do > > - Mike > > > > On Tue, Jan 27, 2009 at 9:29 PM, Lee Hambley <[email protected] > <mailto:[email protected]>> wrote: > > Yep thats easy, here's a pastie: > > * http://pastie.org/371967 > > Don't pull me on my shoddy coding ;) but that's how the default > methods work. > > You can put a default at any level of a nested namespace. > > = Lee > > > 2009/1/27 Mike Bailey <[email protected] <mailto:[email protected]>> > > It just occurred to me that it would be handy to specify a > default role for a namespace. Is this already possible? > > thanks, > > Mike > > namespace :deprec do > namespace :apache, :roles => :web do > > <snip> > > end > end > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
