Skip to content

Instantly share code, notes, and snippets.

@DarrenN
Created February 5, 2011 13:33
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 DarrenN/812456 to your computer and use it in GitHub Desktop.
Save DarrenN/812456 to your computer and use it in GitHub Desktop.
Vagrant file from Getting started
[default] Running chef-solo...
[default] stdin: is not a tty
: stderr
[default] [Sat, 05 Feb 2011 05:32:39 -0800] INFO: Setting the run_list to ["recipe[vagrant_main]"] from JSON
[Sat, 05 Feb 2011 05:32:39 -0800] INFO: Starting Chef Run (Version 0.9.12)
: stdout
[default] [Sat, 05 Feb 2011 05:32:47 -0800] INFO: Ran execute[apt-get update] successfully
[Sat, 05 Feb 2011 05:32:48 -0800] FATAL: No cookbook found in ["/tmp/vagrant-chef/cookbooks-0", "/tmp/vagrant-chef/cookbooks"], make sure cookbook_path is set correctly.
Vagrant::Config.run do |config|
config.vm.box = "lucid32"
# Enable and configure the chef solo provisioner
config.vm.provision :chef_solo do |chef|
# We're going to download our cookbooks from the web
chef.recipe_url = "http://files.vagrantup.com/getting_started/cookbooks.tar.gz"
# Tell chef what recipe to run. In this case, the `vagrant_main` recipe
# does all the magic.
chef.add_recipe("vagrant_main")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment