summaryrefslogtreecommitdiff
path: root/Vagrantfile
diff options
context:
space:
mode:
authorGiovane <giovaneliberato@gmail.com>2015-12-15 14:17:30 -0200
committerGiovane <giovaneliberato@gmail.com>2015-12-15 14:18:35 -0200
commitfbf524814bdd4dadaf69f714eb5c60d482274645 (patch)
tree9663d6351c177c0880ba4ee90267cbf37f9776fb /Vagrantfile
parent693e7f90fb5c0eaec9d04def13bb79c6dd8b0f17 (diff)
Updates vagrant box image and fix jshint path.
- Change vagrant image to debian jessie - Uses absolute path to jshint on package.json
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile14
1 files changed, 13 insertions, 1 deletions
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"