Skip to content

Instantly share code, notes, and snippets.

@fh
Created December 2, 2013 17:12
Show Gist options
  • Save fh/7752866 to your computer and use it in GitHub Desktop.
Save fh/7752866 to your computer and use it in GitHub Desktop.
#https://rubygems.org/gems/bib-vagrant
Vagrant.require_plugin "bib-vagrant"
Vagrant.configure("2") do |config|
bibconfig = Bib::Vagrant::Config.new()
vagrantconfig = bibconfig.get
config.vm.synced_folder "./../", "/vagrant_data", :owner => "vagrant", :nfs => vagrantconfig["nfs"]
config.vm.provider :virtualbox do |vb|
vb.gui = vagrantconfig["gui"]
end
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = vagrantconfig["cookbook_path"]
chef.log_level = vagrantconfig["chef_log_level"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment