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]> > 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 -~----------~----~----~----~------~----~------~--~---
