Skip to content

Instantly share code, notes, and snippets.

@toddlers
Created February 9, 2014 10:49
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 toddlers/8897464 to your computer and use it in GitHub Desktop.
Save toddlers/8897464 to your computer and use it in GitHub Desktop.
absolute path for cookbooks in vagrant file
20 homebase = "/Users/sureshprajapati/chef/dirty/dirty-chef"
21 #config.vm.synced_folder "/Users/sureshprajapati/chef/dirty/dirty-chef/cookbooks", "/cookbooks"
22 config.vm.provision "chef_solo" do |chef|
23 ¦ chef.cookbooks_path = "#{homebase}/cookbooks"
24 ¦ #chef.run_list = [ "recipe[dirty::default]" ]
25 ¦ chef.add_recipe "dirty::default"
26 ¦ chef.log_level = :debug
27 ¦ chef.verbose_logging = :true
28 end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment