The following task successfully creates namespaces with generic names like :web, :app and :db. Each contain the recipes for the users choice for that server type.
This allows deprec to use generic commands internally. top.deprec.web.restart instead of top.deprec.apache.restart http://pastie.org/377934 The only problem I'm seeing is that it causes duplicate entires in 'cap -T'. I think You can reproduce the problem by putting the following in your .caprc and running 'cap -T': namespaces[:foo] = deprec cap -T cap deprec:aoe:install # Install aoe drivers require... cap deprec:aoe:install # Install aoe drivers require... cap deprec:aoe:install_all # Install all AoE related sof... cap deprec:aoe:install_all # Install all AoE related sof... cap deprec:aoemask:install # install aoemask cap deprec:aoemask:install # install aoemask <snip> Is there a way to assign to namespaces without the desciptions being added a second time? thanks, Mike --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
