I have many clients that I am deploying a single application to, using cap2:
Example deploy.rb setup, with 3 clients on one box: --------------- role :web, "[EMAIL PROTECTED]" role :web, "[EMAIL PROTECTED]" role :web, "[EMAIL PROTECTED]" role :app, "[EMAIL PROTECTED]" role :app, "[EMAIL PROTECTED]" role :app, "[EMAIL PROTECTED]" role :db, "[EMAIL PROTECTED]", :primary => true role :db, "[EMAIL PROTECTED]" role :db, "[EMAIL PROTECTED]" My question is regarding the :db tasks that run. I know that deploy:migrate will only run against a db server with :primary => true. Does that mean in the example above, when I try to run deploy:cold for [EMAIL PROTECTED], I will get a failure notice? I suspect it does. If so, is there a better way to manage a lot of clients' roles so everything works seamlessly? Thanks! David Balatero --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
