summaryrefslogtreecommitdiff
path: root/Vagrantfile
diff options
context:
space:
mode:
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"