Skip to content

Instantly share code, notes, and snippets.

@crigor
Created May 29, 2013 16:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crigor/5671882 to your computer and use it in GitHub Desktop.
Save crigor/5671882 to your computer and use it in GitHub Desktop.
$ vagrant up
Bringing machine 'db' up with 'virtualbox' provider...
Bringing machine 'app' up with 'virtualbox' provider...
[db] Importing base box 'vagrant-debian-wheezy'...
[db] Matching MAC address for NAT networking...
[db] Setting the name of the VM...
[db] Clearing any previously set forwarded ports...
[db] Fixed port collision for 22 => 2222. Now on port 2202.
[db] Creating shared folders metadata...
[db] Clearing any previously set network interfaces...
[db] Preparing network interfaces based on configuration...
[db] Forwarding ports...
[db] -- 22 => 2202 (adapter 1)
[db] Booting VM...
[db] Waiting for VM to boot. This can take a few minutes.
[db] VM booted and ready for use!
[db] Configuring and enabling network interfaces...
[db] Mounting shared folders...
[db] -- /vagrant
[db] -- /tmp/vagrant-chef-1/chef-solo-1/cookbooks
[db] Running provisioner: chef_solo...
Generating chef JSON and uploading...
Running chef-solo...
stdin: is not a tty
[2013-05-29T15:14:48+00:00] INFO: *** Chef 11.4.4 ***
[2013-05-29T15:14:48+00:00] INFO: Setting the run_list to ["recipe[apt]", "recipe[database]"] from JSON
[2013-05-29T15:14:48+00:00] INFO: Run List is [recipe[apt], recipe[database]]
[2013-05-29T15:14:48+00:00] INFO: Run List expands to [apt, database]
[2013-05-29T15:14:48+00:00] INFO: Starting Chef Run for vagrant-debian-wheezy.vagrantup.com
[2013-05-29T15:14:48+00:00] INFO: Running start handlers
[2013-05-29T15:14:48+00:00] INFO: Start handlers complete.
[2013-05-29T15:14:48+00:00] INFO: Processing execute[aptitude update] action run (apt::default line 1)
[2013-05-29T15:31:36+00:00] INFO: execute[aptitude update] ran successfully
[2013-05-29T15:31:36+00:00] INFO: Processing package[postgresql] action install (database::default line 1)
[2013-05-29T15:36:59+00:00] INFO: Processing service[postgresql] action start (database::default line 5)
[2013-05-29T15:36:59+00:00] INFO: Processing template[/etc/postgresql/9.1/main/postgresql.conf] action create (database::default line 10)
[2013-05-29T15:36:59+00:00] INFO: template[/etc/postgresql/9.1/main/postgresql.conf] backed up to /var/chef/backup/etc/postgresql/9.1/main/postgresql.conf.chef-20130529153659
[2013-05-29T15:36:59+00:00] INFO: template[/etc/postgresql/9.1/main/postgresql.conf] updated content
[2013-05-29T15:36:59+00:00] INFO: template[/etc/postgresql/9.1/main/postgresql.conf] sending restart action to service[postgresql] (immediate)
[2013-05-29T15:36:59+00:00] INFO: Processing service[postgresql] action restart (database::default line 5)
[2013-05-29T15:37:02+00:00] INFO: service[postgresql] restarted
[2013-05-29T15:37:02+00:00] INFO: Processing template[/etc/postgresql/9.1/main/pg_hba.conf] action create (database::default line 15)
[2013-05-29T15:37:02+00:00] INFO: template[/etc/postgresql/9.1/main/pg_hba.conf] backed up to /var/chef/backup/etc/postgresql/9.1/main/pg_hba.conf.chef-20130529153702
[2013-05-29T15:37:02+00:00] INFO: template[/etc/postgresql/9.1/main/pg_hba.conf] updated content
[2013-05-29T15:37:02+00:00] INFO: template[/etc/postgresql/9.1/main/pg_hba.conf] sending reload action to service[postgresql] (immediate)
[2013-05-29T15:37:02+00:00] INFO: Processing service[postgresql] action reload (database::default line 5)
[2013-05-29T15:37:03+00:00] INFO: service[postgresql] reloaded
[2013-05-29T15:37:03+00:00] INFO: Chef Run complete in 1334.330935322 seconds
[2013-05-29T15:37:03+00:00] INFO: Running report handlers
[2013-05-29T15:37:03+00:00] INFO: Report handlers complete
[app] Importing base box 'vagrant-debian-wheezy'...
[app] Matching MAC address for NAT networking...
[app] Setting the name of the VM...
[app] Clearing any previously set forwarded ports...
[app] Fixed port collision for 22 => 2202. Now on port 2203.
[app] Creating shared folders metadata...
[app] Clearing any previously set network interfaces...
[app] Preparing network interfaces based on configuration...
[app] Forwarding ports...
[app] -- 22 => 2203 (adapter 1)
[app] -- 80 => 8091 (adapter 1)
[app] Booting VM...
[app] Waiting for VM to boot. This can take a few minutes.
[app] VM booted and ready for use!
[app] Configuring and enabling network interfaces...
[app] Mounting shared folders...
[app] -- /vagrant
[app] -- /tmp/vagrant-chef-1/chef-solo-1/cookbooks
[app] Running provisioner: chef_solo...
Generating chef JSON and uploading...
Running chef-solo...
stdin: is not a tty
[2013-05-29T15:37:45+00:00] INFO: *** Chef 11.4.4 ***
[2013-05-29T15:37:46+00:00] INFO: Setting the run_list to ["recipe[apt]", "recipe[app]"] from JSON
[2013-05-29T15:37:46+00:00] INFO: Run List is [recipe[apt], recipe[app]]
[2013-05-29T15:37:46+00:00] INFO: Run List expands to [apt, app]
[2013-05-29T15:37:46+00:00] INFO: Starting Chef Run for vagrant-debian-wheezy.vagrantup.com
[2013-05-29T15:37:46+00:00] INFO: Running start handlers
[2013-05-29T15:37:46+00:00] INFO: Start handlers complete.
[2013-05-29T15:37:46+00:00] INFO: Processing execute[aptitude update] action run (apt::default line 1)
[2013-05-29T15:52:18+00:00] INFO: execute[aptitude update] ran successfully
[2013-05-29T15:52:18+00:00] INFO: Processing package[nginx] action install (nginx::default line 1)
[2013-05-29T15:53:28+00:00] INFO: Processing service[nginx] action start (nginx::default line 5)
[2013-05-29T15:53:29+00:00] INFO: service[nginx] started
[2013-05-29T15:53:29+00:00] INFO: Processing template[/etc/nginx/nginx.conf] action create (nginx::default line 10)
[2013-05-29T15:53:29+00:00] INFO: template[/etc/nginx/nginx.conf] backed up to /var/chef/backup/etc/nginx/nginx.conf.chef-20130529155329
[2013-05-29T15:53:29+00:00] INFO: template[/etc/nginx/nginx.conf] updated content
[2013-05-29T15:53:29+00:00] INFO: template[/etc/nginx/nginx.conf] owner changed to 1000
[2013-05-29T15:53:29+00:00] INFO: Processing directory[/etc/nginx/servers] action create (nginx::default line 16)
[2013-05-29T15:53:29+00:00] INFO: directory[/etc/nginx/servers] created directory /etc/nginx/servers
[2013-05-29T15:53:29+00:00] INFO: directory[/etc/nginx/servers] owner changed to 1000
[2013-05-29T15:53:29+00:00] INFO: Processing package[monit] action install (monit::default line 1)
[2013-05-29T15:53:48+00:00] INFO: Processing service[monit] action start (monit::default line 5)
[2013-05-29T15:53:48+00:00] INFO: Processing template[/etc/monit/monitrc] action create (monit::default line 9)
[2013-05-29T15:53:48+00:00] INFO: template[/etc/monit/monitrc] backed up to /var/chef/backup/etc/monit/monitrc.chef-20130529155348
[2013-05-29T15:53:48+00:00] INFO: template[/etc/monit/monitrc] updated content
[2013-05-29T15:53:48+00:00] INFO: Processing directory[/data/todo/shared/log] action create (app::rails line 3)
[2013-05-29T15:53:48+00:00] INFO: directory[/data/todo/shared/log] created directory /data/todo/shared/log
[2013-05-29T15:53:48+00:00] INFO: directory[/data/todo/shared/log] owner changed to 1000
[2013-05-29T15:53:48+00:00] INFO: Processing directory[/data/todo/shared/config] action create (app::rails line 8)
[2013-05-29T15:53:48+00:00] INFO: directory[/data/todo/shared/config] created directory /data/todo/shared/config
[2013-05-29T15:53:48+00:00] INFO: directory[/data/todo/shared/config] owner changed to 1000
[2013-05-29T15:53:48+00:00] INFO: Processing directory[/data/todo] action create (app::rails line 13)
[2013-05-29T15:53:48+00:00] INFO: directory[/data/todo] owner changed to 1000
[2013-05-29T15:53:48+00:00] INFO: Processing directory[/var/run/todo] action create (app::rails line 18)
[2013-05-29T15:53:48+00:00] INFO: directory[/var/run/todo] created directory /var/run/todo
[2013-05-29T15:53:48+00:00] INFO: directory[/var/run/todo] owner changed to 1000
[2013-05-29T15:53:48+00:00] INFO: Processing link[/data/todo/current] action create (app::rails line 23)
[2013-05-29T15:53:48+00:00] INFO: link[/data/todo/current] created
[2013-05-29T15:53:48+00:00] INFO: Processing template[/etc/monit/conf.d/unicorn_todo.monitrc] action create (app::rails line 27)
[2013-05-29T15:53:48+00:00] INFO: template[/etc/monit/conf.d/unicorn_todo.monitrc] updated content
[2013-05-29T15:53:48+00:00] INFO: template[/etc/monit/conf.d/unicorn_todo.monitrc] not queuing delayed action restart on service[monit] (delayed), as it's already been queued
[2013-05-29T15:53:48+00:00] INFO: Processing template[/data/todo/shared/config/unicorn_start.sh] action create (app::rails line 33)
[2013-05-29T15:53:48+00:00] INFO: template[/data/todo/shared/config/unicorn_start.sh] updated content
[2013-05-29T15:53:48+00:00] INFO: template[/data/todo/shared/config/unicorn_start.sh] mode changed to 755
[2013-05-29T15:53:48+00:00] INFO: Processing template[/data/todo/shared/config/unicorn_stop.sh] action create (app::rails line 39)
[2013-05-29T15:53:48+00:00] INFO: template[/data/todo/shared/config/unicorn_stop.sh] updated content
[2013-05-29T15:53:48+00:00] INFO: template[/data/todo/shared/config/unicorn_stop.sh] mode changed to 755
[2013-05-29T15:53:48+00:00] INFO: Processing template[/data/todo/shared/config/unicorn.rb] action create (app::rails line 45)
[2013-05-29T15:53:48+00:00] INFO: template[/data/todo/shared/config/unicorn.rb] updated content
[2013-05-29T15:53:48+00:00] INFO: template[/data/todo/shared/config/unicorn.rb] owner changed to 1000
[2013-05-29T15:53:48+00:00] INFO: Processing template[/etc/nginx/servers/todo.conf] action create (app::rails line 51)
[2013-05-29T15:53:48+00:00] INFO: template[/etc/nginx/servers/todo.conf] updated content
[2013-05-29T15:53:48+00:00] INFO: template[/etc/nginx/servers/todo.conf] owner changed to 1000
[2013-05-29T15:53:48+00:00] INFO: template[/etc/nginx/servers/todo.conf] not queuing delayed action reload on service[nginx] (delayed), as it's already been queued
[2013-05-29T15:53:48+00:00] INFO: Processing package[postgresql-server-dev-9.1] action install (app::rails line 59)
[2013-05-29T15:56:50+00:00] INFO: Processing template[/data/todo/current/config/database.yml] action create (app::rails line 63)
[2013-05-29T15:56:50+00:00] INFO: template[/data/todo/current/config/database.yml] backed up to /var/chef/backup/data/todo/current/config/database.yml.chef-20130529155650
[2013-05-29T15:56:50+00:00] INFO: template[/data/todo/current/config/database.yml] updated content
[2013-05-29T15:56:50+00:00] INFO: Processing execute[install-bundler] action run (app::bundle line 1)
[2013-05-29T15:57:21+00:00] INFO: execute[install-bundler] ran successfully
[2013-05-29T15:57:21+00:00] INFO: Processing execute[bundle] action run (app::bundle line 7)
[2013-05-29T15:59:34+00:00] INFO: execute[bundle] ran successfully
[2013-05-29T15:59:34+00:00] INFO: Processing execute[create-db-migrate] action run (app::migrate line 2)
[2013-05-29T15:59:38+00:00] INFO: execute[create-db-migrate] ran successfully
[2013-05-29T15:59:38+00:00] INFO: template[/etc/nginx/nginx.conf] sending reload action to service[nginx] (delayed)
[2013-05-29T15:59:38+00:00] INFO: Processing service[nginx] action reload (nginx::default line 5)
[2013-05-29T15:59:38+00:00] INFO: service[nginx] reloaded
[2013-05-29T15:59:38+00:00] INFO: template[/etc/monit/monitrc] sending restart action to service[monit] (delayed)
[2013-05-29T15:59:38+00:00] INFO: Processing service[monit] action restart (monit::default line 5)
[2013-05-29T15:59:39+00:00] INFO: service[monit] restarted
[2013-05-29T15:59:39+00:00] INFO: Chef Run complete in 1313.000269093 seconds
[2013-05-29T15:59:39+00:00] INFO: Running report handlers
[2013-05-29T15:59:39+00:00] INFO: Report handlers complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment