Skip to content

Instantly share code, notes, and snippets.

@BDQ
Created April 4, 2012 10:11
Show Gist options
  • Save BDQ/2300102 to your computer and use it in GitHub Desktop.
Save BDQ/2300102 to your computer and use it in GitHub Desktop.
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
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