Skip to content

Instantly share code, notes, and snippets.

@davidyang
Created June 24, 2010 16:54
Show Gist options
  • Save davidyang/451670 to your computer and use it in GitHub Desktop.
Save davidyang/451670 to your computer and use it in GitHub Desktop.
[default] Creating VM 'default'
[default] Provisioning enabled with Vagrant::Provisioners::ChefSolo
[default] Importing base VM (/Users/dyang/.vagrant/boxes/base/box.ovf)...
[default] Persisting the VM UUID (6b027c5c-e738-4289-8de5-befe87f382a9)...
[default] Matching MAC addresses...
[default] WARNING!
No guest additions were detected on the base box for this VM! Guest
additions are required for forwarded ports, shared folders, host only
networking, and more. If SSH fails on this machine, please install
the guest additions and repackage the box to continue.
[default] Deleting any previously set forwarded ports...
[default] Forwarding ports...
[default] Forwarding "ssh": 22 on adapter #1 => 2222
[default] Creating shared folders metadata...
[default] Booting VM...
[default] Waiting for VM to boot...
[default] Trying to connect (attempt #1 of 10)...
[default] Permissions on private key incorrect, fixing...
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-csc-0: /tmp/vagrant-chef/cookbooks-0
[default] -- v-root: /vagrant
[default] Beginning provisioning process...
[default] Setting permissions on chef provisioning folder...
[default] Generating chef JSON and uploading...
[default] Uploading chef configuration script...
[default] Running chef-solo...
[default] [Thu, 24 Jun 2010 09:53:11 -0700] INFO: Starting Chef Solo Run
: stdout
[default] /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/node/attribute.rb:387:in `method_missing': stderr
[default] : : stderr
[default] Attribute chef_packages is not defined!: stderr
[default] (: stderr
[default] ArgumentError: stderr
[default] )
: stderr
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/node.rb:254:in `send'
: stderr
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/node.rb:254:in `method_missing'
: stderr
[default] from /tmp/vagrant-chef/cookbooks-0/chef/attributes/default.rb:38:in `from_file'
: stderr
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/cookbook.rb:83:in `load_attribute_file'
: stderr
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/cookbook.rb:76:in `load_attributes'
: stderr
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/cookbook.rb:75:in `each'
: stderr
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/cookbook.rb:75:in `load_attributes'
: stderr
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/compile.rb:78:in `load_attributes'
: stderr
[default] ... 10 levels...
: stderr
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/application.rb:57:in `run'
: stderr
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/chef-solo:26
: stderr
[default] from /usr/bin/chef-solo:19:in `load'
: stderr
[default] from /usr/bin/chef-solo:19
: stderr
[default] [Thu, 24 Jun 2010 09:53:13 -0700] WARN: Missing gem 'right_aws'
[Thu, 24 Jun 2010 09:53:13 -0700] WARN: Missing gem 'mysql'
: stdout
=====================================================================
Vagrant experienced an error!
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
cd /tmp/vagrant-chef && sudo chef-solo -c solo.rb -j dna.json
=====================================================================
Vagrant::Config.run do |config|
# All Vagrant configuration is done here. For a detailed explanation
# and listing of configuration options, please view the documentation
# online.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "base"
config.vm.provisioner = :chef_solo
config.chef.cookbooks_path = "cookbooks"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment