Skip to content

Instantly share code, notes, and snippets.

@heim
Created March 2, 2011 12:15
Show Gist options
  • Save heim/850844 to your computer and use it in GitHub Desktop.
Save heim/850844 to your computer and use it in GitHub Desktop.
#Why does this work:
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.add_recipe "vagrant_main"
end
#But not this:
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.add_recipe "vagrant_main"
chef.json = { :mysql_password => "" , :rails => { :version => "3.0.5" } }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment