Sha256: 3e5e08da7fe503b9d686cbc8cef96958e48e087c3e5ca94ded51f387512be157

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

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.provision :shell, :path => 'apt-spy-2-bootstrap.sh'

  config.vm.provision 'shell', inline: 'sudo apt-get -y update'

  # for testing the latest greatest npm
  # 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 'shell', inline: 'npm config list'

  config.vm.provision 'shell', inline: 'npm --loglevel silly view test'

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bib-vagrant-0.1.2 Vagrantfile