Adds chef.roles_path and chef.data_bags_path to template

This commit is contained in:
Lorin Hochstein 2012-03-21 10:44:41 -04:00
parent 641a8daac8
commit ab926ed5f4
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"
#