Created
August 28, 2012 20:10
-
-
Save wadtech/3503581 to your computer and use it in GitHub Desktop.
Vagrant up with chef solo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[default] Mounting shared folders... | |
INFO interface: info: -- v-root: /vagrant | |
[default] -- v-root: /vagrant | |
INFO ssh: Execute: printf /vagrant (sudo=false) | |
INFO ssh: Execute: mkdir -p /vagrant (sudo=true) | |
INFO ssh: Execute: mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-root /vagrant (sudo=true) | |
INFO ssh: Execute: chown `id -u vagrant`:`id -g vagrant` /vagrant (sudo=true) | |
INFO ssh: Execute: [ -x /sbin/initctl ] && /sbin/initctl emit vagrant-mounted MOUNTPOINT=/vagrant (sudo=true) | |
INFO interface: info: -- v-csc-1: /tmp/vagrant-chef/chef-solo-1/cookbooks | |
[default] -- v-csc-1: /tmp/vagrant-chef/chef-solo-1/cookbooks | |
INFO ssh: Execute: printf /tmp/vagrant-chef/chef-solo-1/cookbooks (sudo=false) | |
INFO ssh: Execute: mkdir -p /tmp/vagrant-chef/chef-solo-1/cookbooks (sudo=true) | |
INFO ssh: Execute: mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks (sudo=true) | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
INFO warden: Calling recover: #<Vagrant::Action::VM::Import:0x00000001fd0600> | |
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "d58b2139-52a5-490e-b810-983cf751bff3", "--machinereadable"] | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR warden: Error occurred: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR vagrant: Vagrant experienced an error! Details: | |
ERROR vagrant: #<Vagrant::Errors::VagrantError: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks> | |
ERROR vagrant: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
ERROR vagrant: /home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/communication/ssh.rb:62:in `execute' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/communication/ssh.rb:72:in `sudo' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/guest/linux.rb:105:in `mount_folder' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/guest/linux.rb:51:in `mount_shared_folder' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/guest/ubuntu.rb:8:in `mount_shared_folder' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/share_folders.rb:103:in `block in mount_shared_folders' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/share_folders.rb:88:in `each' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/share_folders.rb:88:in `mount_shared_folders' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/share_folders.rb:22:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/clear_shared_folders.rb:13:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/nfs.rb:41:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/prune_nfs_exports.rb:15:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/provision.rb:27:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/forward_ports.rb:24:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/check_port_collisions.rb:42:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/env/set.rb:16:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/clear_forwarded_ports.rb:13:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/clean_machine_folder.rb:17:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/check_accessible.rb:18:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/general/validate.rb:13:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/general/check_virtualbox.rb:23:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/match_mac_address.rb:16:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/default_name.rb:17:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/check_guest_additions.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/import.rb:31:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/check_box.rb:28:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/vm/check_accessible.rb:18:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/general/validate.rb:13:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/general/check_virtualbox.rb:23:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/warden.rb:33:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/builder.rb:92:in `call' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/runner.rb:49:in `block in run' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/util/busy.rb:19:in `busy' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/action/runner.rb:49:in `run' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/vm.rb:192:in `run_action' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/vm.rb:145:in `up' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/command/up.rb:31:in `block in execute' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/command/base.rb:116:in `block in with_target_vms' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/command/base.rb:111:in `each' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/command/base.rb:111:in `with_target_vms' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/command/up.rb:24:in `execute' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/cli.rb:42:in `execute' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/lib/vagrant/environment.rb:167:in `cli' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/gems/vagrant-1.0.3/bin/vagrant:43:in `<top (required)>' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/bin/vagrant:19:in `load' | |
/home/peter/.rvm/gems/ruby-1.9.3-p194@homepage/bin/vagrant:19:in `<main>' | |
INFO interface: error: The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks | |
The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef/chef-solo-1/cookbooks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/env/ruby | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant::Config.run do |config| | |
config.vm.box = "precise64" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.forward_port 80, 8080 | |
# Enable provisioning with chef solo, specifying a cookbooks path, roles | |
# path, and data_bags path (all relative to this Vagrantfile), and adding | |
# some recipes and/or roles. | |
config.vm.provision :chef_solo do |chef| | |
chef.cookbooks_path = "/vagrant/vagrant/cookbooks" | |
chef.provisioning_path = "/tmp/vagrant-chef" | |
chef.add_recipe "default" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment