Skip to content

Instantly share code, notes, and snippets.

@fh
Created December 2, 2013 17:12

Revisions

  1. fh created this gist Dec 2, 2013.
    20 changes: 20 additions & 0 deletions Vagrantfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    #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