Skip to content

Instantly share code, notes, and snippets.

@sud0n1m
Created March 31, 2010 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sud0n1m/350410 to your computer and use it in GitHub Desktop.
Save sud0n1m/350410 to your computer and use it in GitHub Desktop.
sudonim:rubbertest/ $ cap rubber:create_staging [10:39:05]
triggering load callbacks
* executing `rubber:init'
* executing `rubber:create_staging'
Hostname to use for staging instance [production]:
Roles to use for staging instance [web,app,db:primary=true]:
* executing `rubber:create'
* Security Group already in cloud, syncing rules: foobar_production_haproxy
* Security Group already in cloud, syncing rules: foobar_production_mysql_master
* Security Group already in cloud, syncing rules: foobar_production_app
* Security Group already in cloud, syncing rules: foobar_production_apache
Security group 'foobar_production_web01' exists in cloud but not locally, remove from cloud? [y/N]:
* Security Group already in cloud, syncing rules: foobar_production_db
* Security Group already in cloud, syncing rules: foobar_production_web_tools
* Security Group already in cloud, syncing rules: foobar_production_production
* Security Group already in cloud, syncing rules: foobar_production_passenger
Security group 'foobar_production_test01' exists in cloud but not locally, remove from cloud? [y/N]:
* Security Group already in cloud, syncing rules: foobar_production_web
* Security Group already in cloud, syncing rules: foobar_production_default
** Creating instance ami-ccf615a5/m1.small/foobar_production_default,foobar_production_web,foobar_production_production,foobar_production_haproxy,foobar_production_app,foobar_production_passenger,foobar_production_apache,foobar_production_db,foobar_production_mysql_master/Default
** Instance i-59830132 created
Waiting for instance to start.............
** Instance running, fetching hostname/ip data
* executing `rubber:setup_static_ips'
* executing `rubber:setup_local_aliases'
** Writing out aliases into local machines /etc/hosts, sudo access needed
Password:
** Auto role: web => production.bar.com, {:platform=>"linux"}
** Auto role: haproxy => production.bar.com, {:platform=>"linux"}
** Auto role: app => production.bar.com, {:platform=>"linux"}
** Auto role: passenger => production.bar.com, {:platform=>"linux"}
** Auto role: apache => production.bar.com, {:platform=>"linux"}
** Auto role: db => production.bar.com, {:platform=>"linux", :primary=>true}
** Auto role: mysql_master => production.bar.com, {:platform=>"linux"}
* executing `rubber:_get_ip'
* executing "ifconfig eth0 | awk 'NR==2 {print $2}' | awk -F: '{print $2}'"
servers: ["67.202.20.208"]
** Failed to connect to production (67.202.20.208), retrying
* executing `rubber:_get_ip'
* executing "ifconfig eth0 | awk 'NR==2 {print $2}' | awk -F: '{print $2}'"
servers: ["67.202.20.208"]
** Failed to connect to production (67.202.20.208), retrying
* executing `rubber:_get_ip'
* executing "ifconfig eth0 | awk 'NR==2 {print $2}' | awk -F: '{print $2}'"
servers: ["67.202.20.208"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment