Created
May 2, 2013 16:16
Revisions
-
sit created this gist
May 2, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ # -*- mode: ruby -*- # vi: set ft=ruby : site :opscode # Suck in all cookbooks in local chef-repo Dir.entries("cookbooks").each do |cookbook_name| next if cookbook_name.starts_with?('.') cookbook_dir = "cookbooks/#{cookbook_name}" next unless File.directory?(cookbook_dir) cookbook cookbook_name, path: cookbook_dir end # Add your cookbooks here as per http://berkshelf.com/ # cookbook 'build-essential' This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.box = "precise64" config.vm.box_url = "http://files.vagrantup.com/precise64.box" config.berkshelf.enabled = true config.vm.provision :chef_solo do |chef| chef.data_bags_path = "data_bags" chef.roles_path = "roles" # Set your role or Recipes here as documented at # http://docs.vagrantup.com/v2/provisioning/chef_solo.html # chef.add_recipe "build-essential" end end