views:

25

answers:

2

Hi,

I am trying to set up Vagrant. I am following the guide on the web site and currently have trouble with the Provisioning part of the guide (http://vagrantup.com/docs/getting-started/provisioning.html) I have followed this thing to exactly as it is on the site but I am receiving this error, I am on Mac OSX if it's of any important

evan@superduper ~/vagrant_guide $ vagrant up
    There was a problem with the configuration of Vagrant. The error message(s)
    are printed below:

    chef:
     * Run list must not be empty.

Here is my code for the Vagrant file as well if this also helps:

Vagrant::Config.run do |config|
    config.vm.box = "lucid32"

    # Enable the chef solo provisioner
    config.vm.provisioner = :chef_solo

    # Grab the cookbooks from the Vagrant files
    config.chef.recipe_url = "http://files.vagrantup.com/getting_started/cookbooks.tar.gz"
end

Does anyone what this is from and how I can fix it?

Thanks

J

+1  A: 

You need to add this line to your Vagrantfile: config.chef.add_recipe("vagrant_main")

Joshua Lund