From fbf524814bdd4dadaf69f714eb5c60d482274645 Mon Sep 17 00:00:00 2001 From: Giovane Date: Tue, 15 Dec 2015 14:17:30 -0200 Subject: Updates vagrant box image and fix jshint path. - Change vagrant image to debian jessie - Uses absolute path to jshint on package.json --- Vagrantfile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'Vagrantfile') diff --git a/Vagrantfile b/Vagrantfile index 00ce6899..9f961dc9 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -4,7 +4,7 @@ VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| - config.vm.box = "LEAP/wheezy" + config.vm.box = "debian/jessie64" config.vm.define "source", primary: true do |source| source.vm.provision "puppet" do |puppet| @@ -14,6 +14,18 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| end end + config.vm.provision "shell", :inline => <<-SHELL + apt-get update + apt-get install -y puppet + SHELL + + for plugin in ['vagrant-vbguest'] + unless Vagrant.has_plugin?(plugin) + puts "Missing plugin #{plugin}, installing..." + `vagrant plugin install #{plugin}` + end + end + config.vm.define "deb", autostart: false do |deb| deb.vm.provision "puppet" do |puppet| puppet.manifests_path = "provisioning/manifests" -- cgit v1.2.3