Skip to content

Instantly share code, notes, and snippets.

@sharipov-ru
Created April 11, 2013 09:55
Show Gist options
  • Save sharipov-ru/5362131 to your computer and use it in GitHub Desktop.
Save sharipov-ru/5362131 to your computer and use it in GitHub Desktop.
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'precise64'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] The guest additions on this VM do not match the installed version of
VirtualBox! In most cases this is fine, but in rare cases it can
cause things such as shared folders to not work properly. If you see
shared folder errors, please update the guest additions within the
virtual machine and reload your VM.
Guest Additions Version: 4.1.12
VirtualBox Version: 4.2
[default] Configuring and enabling network interfaces...
[default] Mounting shared folders...
[default] -- /vagrant
[default] -- /tmp/vagrant-chef-1/chef-solo-1/cookbooks
[default] Running provisioner: VagrantPlugins::Shell::Provisioner...
stdin: is not a tty
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
1
0
0
6471 100 6471 0 0 4117 0 0:00:01 0:00:01 --:--:-- 6228
Downloading Chef for ubuntu...
Installing Chef
Selecting previously unselected package chef.
(Reading database ...
61043 files and directories currently installed.)
Unpacking chef (from .../tmp.ch7TP8p1/chef__amd64.deb) ...
Setting up chef (11.4.0-1.ubuntu.11.04) ...
Thank you for installing Chef!
[default] Running provisioner: VagrantPlugins::Chef::Provisioner::ChefSolo...
Generating chef JSON and uploading...
Running chef-solo...
stdin: is not a tty
[2013-04-11T09:34:00+00:00] INFO: *** Chef 11.4.0 ***
[2013-04-11T09:34:01+00:00] INFO: Setting the run_list to ["recipe[apt]", "recipe[git]", "recipe[postgresql::server]", "recipe[redis]", "recipe[ruby_build]", "recipe[rbenv::user]"] from JSON
[2013-04-11T09:34:01+00:00] INFO: Run List is [recipe[apt], recipe[git], recipe[postgresql::server], recipe[redis], recipe[ruby_build], recipe[rbenv::user]]
[2013-04-11T09:34:01+00:00] INFO: Run List expands to [apt, git, postgresql::server, redis, ruby_build, rbenv::user]
[2013-04-11T09:34:01+00:00] INFO: Starting Chef Run for vagrant-ubuntu-precise-64
[2013-04-11T09:34:01+00:00] INFO: Running start handlers
[2013-04-11T09:34:01+00:00] INFO: Start handlers complete.
[2013-04-11T09:34:03+00:00] WARN: Cloning resource attributes for package[git-core] from prior resource (CHEF-3694)
[2013-04-11T09:34:03+00:00] WARN: Previous package[git-core]: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/ruby_build/recipes/default.rb:34:in `block in from_file'
[2013-04-11T09:34:03+00:00] WARN: Current package[git-core]: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/rbenv/libraries/chef_rbenv_recipe_helpers.rb:43:in `block in install_rbenv_pkg_prereqs'
[2013-04-11T09:34:03+00:00] INFO: Processing execute[apt-get-update] action run (apt::default line 22)
[2013-04-11T09:34:03+00:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 29)
[2013-04-11T09:34:03+00:00] INFO: Processing execute[apt-get autoremove] action nothing (apt::default line 36)
[2013-04-11T09:34:03+00:00] INFO: Processing execute[apt-get autoclean] action nothing (apt::default line 42)
[2013-04-11T09:34:03+00:00] INFO: Processing package[update-notifier-common] action install (apt::default line 48)
[2013-04-11T09:34:12+00:00] INFO: Processing execute[apt-get-update-periodic] action run (apt::default line 52)
[2013-04-11T09:35:30+00:00] INFO: execute[apt-get-update-periodic] ran successfully
[2013-04-11T09:35:30+00:00] INFO: Processing directory[/var/cache/local] action create (apt::default line 62)
[2013-04-11T09:35:30+00:00] INFO: directory[/var/cache/local] created directory /var/cache/local
[2013-04-11T09:35:30+00:00] INFO: directory[/var/cache/local] owner changed to 0
[2013-04-11T09:35:30+00:00] INFO: directory[/var/cache/local] group changed to 0
[2013-04-11T09:35:30+00:00] INFO: directory[/var/cache/local] mode changed to 755
[2013-04-11T09:35:30+00:00] INFO: Processing directory[/var/cache/local/preseeding] action create (apt::default line 62)
[2013-04-11T09:35:30+00:00] INFO: directory[/var/cache/local/preseeding] created directory /var/cache/local/preseeding
[2013-04-11T09:35:30+00:00] INFO: directory[/var/cache/local/preseeding] owner changed to 0
[2013-04-11T09:35:30+00:00] INFO: directory[/var/cache/local/preseeding] group changed to 0
[2013-04-11T09:35:30+00:00] INFO: directory[/var/cache/local/preseeding] mode changed to 755
[2013-04-11T09:35:30+00:00] INFO: Processing package[git] action install (git::default line 24)
[2013-04-11T09:36:26+00:00] INFO: Processing package[postgresql-client] action install (postgresql::client line 32)
[2013-04-11T09:36:42+00:00] INFO: Processing package[libpq-dev] action install (postgresql::client line 32)
[2013-04-11T09:37:17+00:00] INFO: Processing package[postgresql] action install (postgresql::server_debian line 26)
[2013-04-11T09:38:01+00:00] INFO: Processing service[postgresql] action enable (postgresql::server_debian line 30)
[2013-04-11T09:38:01+00:00] INFO: Processing service[postgresql] action start (postgresql::server_debian line 30)
[2013-04-11T09:38:01+00:00] INFO: Processing template[/etc/postgresql/9.1/main/postgresql.conf] action create (postgresql::server line 54)
[2013-04-11T09:38:01+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-20130411093801
[2013-04-11T09:38:01+00:00] INFO: template[/etc/postgresql/9.1/main/postgresql.conf] updated content
[2013-04-11T09:38:01+00:00] INFO: template[/etc/postgresql/9.1/main/postgresql.conf] owner changed to 108
[2013-04-11T09:38:01+00:00] INFO: template[/etc/postgresql/9.1/main/postgresql.conf] group changed to 115
[2013-04-11T09:38:01+00:00] INFO: template[/etc/postgresql/9.1/main/postgresql.conf] mode changed to 600
[2013-04-11T09:38:01+00:00] INFO: template[/etc/postgresql/9.1/main/postgresql.conf] sending restart action to service[postgresql] (immediate)
[2013-04-11T09:38:01+00:00] INFO: Processing service[postgresql] action restart (postgresql::server_debian line 30)
[2013-04-11T09:38:06+00:00] INFO: service[postgresql] restarted
[2013-04-11T09:38:06+00:00] INFO: Processing template[/etc/postgresql/9.1/main/pg_hba.conf] action create (postgresql::server line 62)
[2013-04-11T09:38:06+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-20130411093806
[2013-04-11T09:38:06+00:00] INFO: template[/etc/postgresql/9.1/main/pg_hba.conf] updated content
[2013-04-11T09:38:06+00:00] INFO: template[/etc/postgresql/9.1/main/pg_hba.conf] owner changed to 108
[2013-04-11T09:38:06+00:00] INFO: template[/etc/postgresql/9.1/main/pg_hba.conf] group changed to 115
[2013-04-11T09:38:06+00:00] INFO: template[/etc/postgresql/9.1/main/pg_hba.conf] mode changed to 600
[2013-04-11T09:38:06+00:00] INFO: template[/etc/postgresql/9.1/main/pg_hba.conf] sending reload action to service[postgresql] (immediate)
[2013-04-11T09:38:06+00:00] INFO: Processing service[postgresql] action reload (postgresql::server_debian line 30)
[2013-04-11T09:38:07+00:00] INFO: service[postgresql] reloaded
[2013-04-11T09:38:07+00:00] INFO: Processing bash[assign-postgres-password] action run (postgresql::server line 74)
[2013-04-11T09:38:07+00:00] INFO: bash[assign-postgres-password] ran successfully
[2013-04-11T09:38:07+00:00] INFO: Processing package[tar] action install (ruby_build::default line 34)
[2013-04-11T09:38:07+00:00] INFO: Processing package[bash] action install (ruby_build::default line 34)
[2013-04-11T09:38:07+00:00] INFO: Processing package[curl] action install (ruby_build::default line 34)
[2013-04-11T09:38:07+00:00] INFO: Processing package[git-core] action install (ruby_build::default line 34)
[2013-04-11T09:38:12+00:00] INFO: Processing execute[Install ruby-build] action nothing (ruby_build::default line 38)
[2013-04-11T09:38:12+00:00] INFO: Processing directory[/tmp/vagrant-chef-1] action create (ruby_build::default line 48)
[2013-04-11T09:38:12+00:00] INFO: Processing git[/tmp/vagrant-chef-1/ruby-build] action checkout (ruby_build::default line 52)
[2013-04-11T09:38:13+00:00] INFO: git[/tmp/vagrant-chef-1/ruby-build] cloning repo git://github.com/sstephenson/ruby-build.git to /tmp/vagrant-chef-1/ruby-build
[2013-04-11T09:38:16+00:00] INFO: git[/tmp/vagrant-chef-1/ruby-build] checked out branch: master reference: 5273fb325e642553cdd04b86fce5c9d6c6832367
[2013-04-11T09:38:16+00:00] INFO: git[/tmp/vagrant-chef-1/ruby-build] sending run action to execute[Install ruby-build] (immediate)
[2013-04-11T09:38:16+00:00] INFO: Processing execute[Install ruby-build] action run (ruby_build::default line 38)
[2013-04-11T09:38:16+00:00] INFO: execute[Install ruby-build] ran successfully
[2013-04-11T09:38:16+00:00] INFO: Processing package[git-core] action install (rbenv::user_install line 43)
[2013-04-11T09:38:17+00:00] INFO: Processing package[grep] action install (rbenv::user_install line 43)
[2013-04-11T09:38:17+00:00] INFO: Processing template[/etc/profile.d/rbenv.sh] action create (rbenv::user_install line 24)
[2013-04-11T09:38:17+00:00] INFO: template[/etc/profile.d/rbenv.sh] updated content
[2013-04-11T09:38:17+00:00] INFO: template[/etc/profile.d/rbenv.sh] owner changed to 0
[2013-04-11T09:38:17+00:00] INFO: template[/etc/profile.d/rbenv.sh] mode changed to 755
[2013-04-11T09:38:17+00:00] INFO: Chef Run complete in 255.592874942 seconds
[2013-04-11T09:38:17+00:00] INFO: Running report handlers
[2013-04-11T09:38:17+00:00] INFO: Report handlers complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment