Vagrantfile in bib-vagrant-0.1.2 vs Vagrantfile in bib-vagrant-0.1.3

- old
+ new

@@ -1,17 +1,17 @@ -Vagrant.configure("2") do |config| - foo = Bib::Vagrant::Config.new() +Vagrant.configure('2') do |config| + foo = Bib::Vagrant::Config.new puts foo.get.inspect - + # for testing ubuntu 14.04 config.vm.box = 'trusty-server-cloudimg-amd64-vagrant-disk1.box' config.vm.box_url = 'https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box' # for testing ubuntu 15.04 # config.vm.box = 'vivid-server-cloudimg-amd64-vagrant-disk1.box' - # config.vm.box_url = 'https://cloud-images.ubuntu.com/vagrant/vivid/current/vivid-server-cloudimg-amd64-vagrant-disk1.box' + # config.vm.box_url = 'https://cloud-images.ubuntu.com/vagrant/vivid/current/vivid-server-cloudimg-amd64-vagrant-disk1.box' # config.vm.provision :shell, :path => 'apt-spy-2-bootstrap.sh' config.vm.provision 'shell', inline: 'sudo apt-get -y update' @@ -19,12 +19,11 @@ # config.vm.provision 'shell', inline: 'sudo apt-get -y install curl' # config.vm.provision 'shell', inline: 'curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -' config.vm.provision 'shell', inline: 'sudo apt-get -y install nodejs npm' - config.vm.provision 'bib_configure_npm' + config.vm.provision 'bib_configure_npm' config.vm.provision 'shell', inline: 'npm config list' config.vm.provision 'shell', inline: 'npm --loglevel silly view test' - end