Created
April 4, 2012 10:11
-
-
Save BDQ/2300102 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if cluster=='beta' | |
role :web, '10.10.10.59' | |
role :app, '10.10.10.59' | |
role :db, '10.10.62.62', :primary => true | |
else | |
role :web, '10.10.10.216' | |
role :app, '10.10.10.216' | |
role :db, '10.10.10.216', :primary => true | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cap deploy # will default to second set of servers | |
cap deploy -S cluster=beta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment