To fix this, I implemented the following monkey-patches. However, I don't want to be incompatible with the Capistrano idioms if I can avoid it.
http://gist.github.com/57165 On Mon, Feb 2, 2009 at 3:09 PM, Brian Takita <[email protected]> wrote: > I'm on a project where I'm trying to use a capistrano script for > different stages. > One stage has a utility role and does not have a database, web, app, > or memcache server. The other stages do. > > I want to reuse some of the cap tasks that I use for a normal deploy, > however, when I try to deploy to the utility stage, I receive: > /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.3/lib/capistrano/configuration/servers.rb:75:in > `role_list_from': unknown role `db_admin' (ArgumentError) > > I would like to ignore the task, since the utility role is not > specified for that task. > Has anybody else run into this issue? What is the idiom to get around this? > > Thank you, > Brian Takita > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
