> > role :web, "lamp1, lamp2" #Cluster Production > role :web, "lamp3", #Server Dev > > Its possible to deploy my application on lamp3 only or lamp1 and lamp2 > only ?
You might try this in your recipe file: case ENV["TARGET"] when "prod" role :web, "lamp1, lamp2" #Cluster Production when "dev" role :web, "lamp3", #Server Dev end Then run: TARGET=prod cap deploy in order to deploy to the production machines, or: TARGET=dev cap deploy in order to deploy to the dev machine. Many people have this kind of situation (usually with 3 environments: dev, staging and production). Just search the capistrano and rails groups for "staging" and you'll find all the talks about it... I have a feeling the Jamis is planning some solution for it in the next big release. ;-) Best, dubek. --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
