Merge pull request #826 from lorin/chef-solo-options

Adds chef.roles_path and chef.data_bags_path to template
This commit is contained in:
Mitchell Hashimoto 2012-03-23 06:13:06 -07:00
commit f4719a402a
1 changed files with 6 additions and 3 deletions

View File

@ -59,11 +59,14 @@ Vagrant::Config.run do |config|
# puppet.manifest_file = "<%= box_name %>.pp"
# end
# Enable provisioning with chef solo, specifying a cookbooks path (relative
# to this Vagrantfile), and adding some recipes and/or roles.
# 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 = "cookbooks"
# chef.cookbooks_path = "../my-recipes/cookbooks"
# chef.roles_path = "../my-recipes/roles"
# chef.data_bags_path = "../my-recipes/data_bags"
# chef.add_recipe "mysql"
# chef.add_role "web"
#