Hi
It would be nice to have something like the following:

namespace config
  task :copyconfig, :roles => appservers
   do_something
  end

  task :copyconfig, :roles => dbservers
    do_something
  end
end

the idea being that if you call config.copyconfig it will get called
twice but for each role type it is definined.

If there is another way to achieve this I would gladly hear about it.

at them moment I have to differentiate my tasks by giving them
different names for each task that deploys config to server types.

Regards


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to