Skip to content

Instantly share code, notes, and snippets.

@kelso
Created January 7, 2014 19:11
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 kelso/8304956 to your computer and use it in GitHub Desktop.
Save kelso/8304956 to your computer and use it in GitHub Desktop.
$ vagrant up development
[development] VM already created. Booting if it's not already running...
[development] Clearing any previously set forwarded ports...
[development] Forwarding ports...
[development] -- 22 => 2222 (adapter 1)
[development] -- 3000 => 61000 (adapter 1)
[development] Creating shared folders metadata...
[development] Clearing any previously set network interfaces...
[development] Preparing network interfaces based on configuration...
[development] Running any VM customizations...
[development] Booting VM...
[development] Waiting for VM to boot. This can take a few minutes.
[development] VM booted and ready for use!
[development] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.
Guest Additions Version: 4.2.0
VirtualBox Version: 4.2.18
[development] Configuring and enabling network interfaces...
[development] Mounting shared folders...
[development] -- v-root: /vagrant
[development] -- v-csr-3: /tmp/vagrant-chef-1/chef-solo-3/roles
[development] -- v-csc-2: /tmp/vagrant-chef-1/chef-solo-2/cookbooks
[development] -- v-csc-1: /tmp/vagrant-chef-1/chef-solo-1/cookbooks
[development] -- v-csdb-4: /tmp/vagrant-chef-1/chef-solo-4/data_bags
[development] Running provisioner: Vagrant::Provisioners::ChefSolo...
[development] Generating chef JSON and uploading...
[development] Running chef-solo...
stdin: is not a tty
[2014-01-07T18:58:05+00:00] INFO: *** Chef 10.14.2 ***
[2014-01-07T18:58:06+00:00] INFO: Setting the run_list to ["role[base]", "role[app]", "role[db]", "recipe[littlechef]", "recipe[application::development]"] from JSON
[2014-01-07T18:58:06+00:00] INFO: Run List is [role[base], role[app], role[db], recipe[littlechef], recipe[application::development]]
[2014-01-07T18:58:06+00:00] INFO: Run List expands to [system::update_packages, users::environmental, oh-my-zsh, tmux, monit, firewall, application, postgresql::client, ruby_build, rbenv::user, postgresql::ruby, postgresql::server, database::environmental, redis::source, firewall::postgresql, firewall::redis, monit::postgresql, monit::redis, littlechef, application::development]
[2014-01-07T18:58:06+00:00] INFO: Starting Chef Run for precise64
[2014-01-07T18:58:06+00:00] INFO: Running start handlers
[2014-01-07T18:58:06+00:00] INFO: Start handlers complete.
[2014-01-07T18:58:06+00:00] WARN: Missing gem 'right_aws'
[2014-01-07T18:58:06+00:00] INFO: Processing execute[upgrade packages] action run (system::update_packages line 30)
[2014-01-07T18:58:14+00:00] INFO: execute[upgrade packages] ran successfully
[2014-01-07T18:58:14+00:00] INFO: Processing execute[apt-get update] action run (postgresql::ruby line 21)
[2014-01-07T18:58:18+00:00] INFO: execute[apt-get update] ran successfully
[2014-01-07T18:58:18+00:00] INFO: Processing execute[apt-get update] action run (build-essential::default line 30)
[2014-01-07T18:58:22+00:00] INFO: execute[apt-get update] ran successfully
[2014-01-07T18:58:22+00:00] INFO: Processing package[build-essential] action install (build-essential::default line 48)
[2014-01-07T18:58:22+00:00] INFO: Processing package[binutils-doc] action install (build-essential::default line 48)
[2014-01-07T18:58:22+00:00] INFO: Processing package[autoconf] action install (build-essential::default line 55)
[2014-01-07T18:58:22+00:00] INFO: Processing package[flex] action install (build-essential::default line 55)
[2014-01-07T18:58:22+00:00] INFO: Processing package[bison] action install (build-essential::default line 55)
[2014-01-07T18:58:22+00:00] INFO: Processing package[postgresql-client] action install (postgresql::client line 23)
[2014-01-07T18:58:22+00:00] INFO: Processing package[libpq-dev] action install (postgresql::client line 23)
[2014-01-07T18:58:22+00:00] INFO: Processing chef_gem[pg] action install (postgresql::ruby line 36)
[2014-01-07T18:58:22+00:00] INFO: Processing execute[upgrade packages] action nothing (system::update_packages line 30)
[2014-01-07T18:58:22+00:00] INFO: Processing cookbook_file[/home/vagrant/.ssh/id_rsa] action create (users::vagrant line 7)
[2014-01-07T18:58:22+00:00] INFO: Processing file[/home/vagrant/.ssh/id_rsa.pub] action create (users::vagrant line 13)
[2014-01-07T18:58:22+00:00] INFO: Processing package[git-core] action install (git::default line 21)
[2014-01-07T18:58:22+00:00] INFO: Processing package[zsh] action install (zsh::default line 20)
[2014-01-07T18:58:22+00:00] INFO: Processing package[zsh-doc] action install (zsh::default line 26)
[2014-01-07T18:58:22+00:00] INFO: Processing git[/home/vagrant/.oh-my-zsh] action checkout (oh-my-zsh::default line 24)
[2014-01-07T18:58:22+00:00] INFO: Processing template[/home/vagrant/.zshrc] action create (oh-my-zsh::default line 35)
[2014-01-07T18:58:22+00:00] INFO: Processing execute[change default shell to zsh] action run (oh-my-zsh::default line 43)
[2014-01-07T18:58:22+00:00] INFO: execute[change default shell to zsh] ran successfully
[2014-01-07T18:58:22+00:00] INFO: Processing package[tmux] action install (tmux::default line 22)
[2014-01-07T18:58:22+00:00] INFO: Processing template[/etc/tmux.conf] action create (tmux::default line 25)
[2014-01-07T18:58:22+00:00] INFO: Processing package[monit] action install (monit::default line 20)
[2014-01-07T18:58:22+00:00] INFO: Processing service[monit] action enable (monit::default line 22)
[2014-01-07T18:58:22+00:00] INFO: Processing service[monit] action start (monit::default line 22)
[2014-01-07T18:58:22+00:00] INFO: Processing template[/etc/monit/monitrc] action create (monit::default line 28)
[2014-01-07T18:58:22+00:00] INFO: Processing directory[/etc/monit/conf.d/] action create (monit::default line 37)
[2014-01-07T18:58:22+00:00] INFO: Processing user[deployer] action create (application::default line 1)
[2014-01-07T18:58:22+00:00] INFO: Processing directory[/srv/syncin/] action create (application::default line 15)
[2014-01-07T18:58:22+00:00] INFO: Processing directory[/srv/syncin/releases] action create (application::default line 15)
[2014-01-07T18:58:22+00:00] INFO: Processing directory[/srv/syncin/shared] action create (application::default line 15)
[2014-01-07T18:58:22+00:00] INFO: Processing directory[/srv/syncin/shared/log] action create (application::default line 15)
[2014-01-07T18:58:22+00:00] INFO: Processing directory[/srv/syncin/shared/pids] action create (application::default line 15)
[2014-01-07T18:58:22+00:00] INFO: Processing directory[/srv/syncin/shared/system] action create (application::default line 15)
[2014-01-07T18:58:22+00:00] INFO: Processing directory[/srv/syncin/shared/sockets] action create (application::default line 15)
[2014-01-07T18:58:22+00:00] INFO: Processing template[/srv/syncin/environment] action create (application::default line 24)
[2014-01-07T18:58:22+00:00] INFO: Processing package[postgresql-client] action install (postgresql::client line 23)
[2014-01-07T18:58:22+00:00] INFO: Processing package[libpq-dev] action install (postgresql::client line 23)
[2014-01-07T18:58:22+00:00] INFO: Processing package[tar] action install (ruby_build::default line 34)
[2014-01-07T18:58:22+00:00] INFO: Processing package[bash] action install (ruby_build::default line 34)
[2014-01-07T18:58:22+00:00] INFO: Processing package[curl] action install (ruby_build::default line 34)
[2014-01-07T18:58:22+00:00] INFO: Processing package[git-core] action install (ruby_build::default line 34)
[2014-01-07T18:58:22+00:00] INFO: Processing execute[Install ruby-build] action nothing (ruby_build::default line 38)
[2014-01-07T18:58:22+00:00] INFO: Processing directory[/tmp/vagrant-chef-1] action create (ruby_build::default line 48)
[2014-01-07T18:58:22+00:00] INFO: Processing git[/tmp/vagrant-chef-1/ruby-build] action checkout (ruby_build::default line 52)
[2014-01-07T18:58:23+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
[2014-01-07T18:58:24+00:00] INFO: git[/tmp/vagrant-chef-1/ruby-build] checked out branch: master reference: 938b1a1790bdbcb5cf81417f4697afaccdecc595
[2014-01-07T18:58:24+00:00] INFO: git[/tmp/vagrant-chef-1/ruby-build] sending run action to execute[Install ruby-build] (immediate)
[2014-01-07T18:58:24+00:00] INFO: Processing execute[Install ruby-build] action run (ruby_build::default line 38)
[2014-01-07T18:58:24+00:00] INFO: Processing package[git-core] action install (rbenv::user_install line 43)
[2014-01-07T18:58:24+00:00] INFO: Processing package[grep] action install (rbenv::user_install line 43)
[2014-01-07T18:58:24+00:00] INFO: Processing template[/etc/profile.d/rbenv.sh] action create (rbenv::user_install line 24)
[2014-01-07T18:58:24+00:00] INFO: Processing git[/home/vagrant/.rbenv] action checkout (rbenv::user_install line 61)
[2014-01-07T18:58:25+00:00] INFO: Processing bash[Initialize rbenv (vagrant)] action run (rbenv::user_install line 80)
[2014-01-07T18:58:25+00:00] INFO: bash[Initialize rbenv (vagrant)] ran successfully
[2014-01-07T18:58:25+00:00] INFO: Processing log[rbenv-post-init-vagrant] action write (rbenv::user_install line 87)
[2014-01-07T18:58:25+00:00] INFO: rbenv-post-init-vagrant
[2014-01-07T18:58:25+00:00] INFO: Processing rbenv_ruby[1.9.3-p125 (vagrant)] (vagrant) action install (rbenv::user line 27)
[2014-01-07T18:58:25+00:00] INFO: Processing rbenv_global[1.9.3-p125 (vagrant)] (vagrant) action create (rbenv::user line 34)
[2014-01-07T18:58:25+00:00] INFO: Processing rbenv_gem[1.9.3-p125::bundler (vagrant)] (vagrant) action install (rbenv::user line 44)
[2014-01-07T18:58:25+00:00] INFO: Processing rbenv_gem[1.9.3-p125::librarian (vagrant)] (vagrant) action install (rbenv::user line 44)
[2014-01-07T18:58:25+00:00] INFO: Processing execute[apt-get update] action nothing (postgresql::ruby line 21)
[2014-01-07T18:58:25+00:00] INFO: Processing execute[apt-get update] action nothing (build-essential::default line 30)
[2014-01-07T18:58:25+00:00] INFO: Processing package[build-essential] action nothing (build-essential::default line 48)
[2014-01-07T18:58:25+00:00] INFO: Processing package[binutils-doc] action nothing (build-essential::default line 48)
[2014-01-07T18:58:25+00:00] INFO: Processing package[autoconf] action nothing (build-essential::default line 55)
[2014-01-07T18:58:25+00:00] INFO: Processing package[flex] action nothing (build-essential::default line 55)
[2014-01-07T18:58:25+00:00] INFO: Processing package[bison] action nothing (build-essential::default line 55)
[2014-01-07T18:58:25+00:00] INFO: Processing chef_gem[pg] action install (postgresql::ruby line 36)
[2014-01-07T18:58:25+00:00] INFO: Processing package[postgresql] action install (postgresql::server_debian line 32)
[2014-01-07T18:58:25+00:00] INFO: Processing service[postgresql] action nothing (postgresql::server_debian line 37)
[2014-01-07T18:58:25+00:00] INFO: Processing template[/etc/postgresql/9.1/main/postgresql.conf] action create (postgresql::server_debian line 58)
[2014-01-07T18:58:25+00:00] INFO: Processing template[/etc/postgresql/9.1/main/pg_hba.conf] action create (postgresql::server line 46)
[2014-01-07T18:58:25+00:00] INFO: Processing bash[assign-postgres-password] action run (postgresql::server line 58)
[2014-01-07T18:58:25+00:00] INFO: bash[assign-postgres-password] ran successfully
[2014-01-07T18:58:25+00:00] INFO: Processing postgresql_database_user[vagrant] action create (database::environmental line 14)
[2014-01-07T18:58:25+00:00] INFO: Processing postgresql_database[syncin_development] action create (database::environmental line 21)
[2014-01-07T18:58:25+00:00] INFO: Processing postgresql_database[syncin_test] action create (database::environmental line 27)
[2014-01-07T18:58:25+00:00] INFO: Processing package[build-essential] action install (redis::source line 32)
[2014-01-07T18:58:25+00:00] INFO: Processing remote_file[/tmp/vagrant-chef-1/redis-2.4.17.tar.gz] action create (redis::source line 34)
[2014-01-07T18:58:26+00:00] INFO: remote_file[/tmp/vagrant-chef-1/redis-2.4.17.tar.gz] updated
[2014-01-07T18:58:26+00:00] INFO: remote_file[/tmp/vagrant-chef-1/redis-2.4.17.tar.gz] mode changed to 644
[2014-01-07T18:58:26+00:00] INFO: Processing execute[Extract redis-2.4.17.tar.gz] action run (redis::source line 40)
[2014-01-07T18:58:26+00:00] INFO: execute[Extract redis-2.4.17.tar.gz] ran successfully
[2014-01-07T18:58:26+00:00] INFO: Processing execute[Build redis-2.4.17] action run (redis::source line 51)
[2014-01-07T18:58:26+00:00] INFO: Processing group[redis] action create (redis::source line 58)
[2014-01-07T18:58:26+00:00] INFO: Processing user[redis] action create (redis::source line 60)
[2014-01-07T18:58:26+00:00] INFO: Processing directory[/var/run/redis.pid] action create (redis::source line 67)
[2014-01-07T18:58:26+00:00] INFO: directory[/var/run/redis.pid] created directory /var/run/redis.pid
[2014-01-07T18:58:26+00:00] INFO: directory[/var/run/redis.pid] owner changed to 998
[2014-01-07T18:58:26+00:00] INFO: directory[/var/run/redis.pid] group changed to 1004
[2014-01-07T18:58:26+00:00] INFO: directory[/var/run/redis.pid] mode changed to 750
[2014-01-07T18:58:26+00:00] INFO: Processing directory[/var/log/redis] action create (redis::source line 67)
[2014-01-07T18:58:26+00:00] INFO: Processing directory[/var/lib/redis] action create (redis::source line 67)
[2014-01-07T18:58:26+00:00] INFO: Processing execute[Install redis-server init.d script] action run (redis::source line 78)
[2014-01-07T18:58:26+00:00] INFO: Processing file[/etc/init.d/redis] action create (redis::source line 86)
[2014-01-07T18:58:26+00:00] INFO: Processing service[redis] action enable (redis::source line 92)
[2014-01-07T18:58:26+00:00] INFO: Processing directory[/etc/redis] action create (redis::source line 97)
[2014-01-07T18:58:26+00:00] INFO: Processing template[/etc/redis/6379.conf] action create (redis::source line 103)
[2014-01-07T18:58:26+00:00] INFO: Processing monit[postgresql] action enable (monit::postgresql line 1)
[2014-01-07T18:58:26+00:00] INFO: Processing template[/etc/monit/conf.d/postgresql.conf] action create (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/monit/providers/default.rb line 62)
[2014-01-07T18:58:26+00:00] INFO: Processing monit[redis] action enable (monit::redis line 1)
[2014-01-07T18:58:26+00:00] INFO: Processing template[/etc/monit/conf.d/redis.conf] action create (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/monit/providers/default.rb line 62)
[2014-01-07T18:58:26+00:00] INFO: Processing package[python-pip] action install (littlechef::default line 20)
[2014-01-07T18:58:26+00:00] INFO: Processing package[python-dev] action install (littlechef::default line 26)
[2014-01-07T18:58:26+00:00] INFO: Processing execute[Install littlechef] action run (littlechef::default line 35)
[2014-01-07T18:58:26+00:00] INFO: execute[Install littlechef] ran successfully
[2014-01-07T18:58:26+00:00] INFO: Processing template[/home/vagrant/.ssh/config] action create (application::development line 3)
[2014-01-07T18:58:26+00:00] INFO: Chef Run complete in 20.706247 seconds
[2014-01-07T18:58:26+00:00] INFO: Running report handlers
[2014-01-07T18:58:26+00:00] INFO: Report handlers complete
(develop) $ vagrant ssh development
Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-23-generic x86_64)
* Documentation: https://help.ubuntu.com/
Welcome to your Vagrant-built virtual machine.
Last login: Tue Jan 7 18:56:44 2014 from 10.0.2.2
precise64 :: /vagrant ‹develop› » rails s
zsh: command not found: rails
precise64 :: /vagrant ‹develop› bundle 127 ↵
rbenv: version `1.9.3-p392' is not installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment