summaryrefslogtreecommitdiff
path: root/Vagrantfile
diff options
context:
space:
mode:
authorkwadronaut <kwadronaut@leap.se>2015-11-12 10:00:27 +0100
committerkwadronaut <kwadronaut@leap.se>2015-11-12 10:00:27 +0100
commit92cc2b1118e98a4fb086d7c62a140dbfc845f4b0 (patch)
tree92896619c0cf4ace177cecfbdea6cbbbb9bc8419 /Vagrantfile
parent81467100826ad95266a4c29b11a2ecef759dd782 (diff)
parent7d0b6b25e49a1ccb70c4f502f7dfc58878b900cc (diff)
Merge remote-tracking branch 'origin/develop' into HEAD
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Vagrantfile b/Vagrantfile
index 18590a8f..ba5451aa 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -1,5 +1,7 @@
-Vagrant.configure("2") do |config|
- config.vm.define :node1 do |config|
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+Vagrant.configure("2") do |vagrant_config|
+ vagrant_config.vm.define :node1 do |config|
# Please verify the sha512 sum of the downloaded box before importing it into vagrant !
# see https://leap.se/en/docs/platform/details/development#Verify.vagrantbox.download
@@ -7,14 +9,20 @@ Vagrant.configure("2") do |config|
config.vm.box = "LEAP/wheezy"
#config.vm.network :private_network, ip: "10.5.5.102"
+
+ # forward leap_web ports
+ config.vm.network "forwarded_port", guest: 80, host:8080
+ config.vm.network "forwarded_port", guest: 443, host:4443
+
config.vm.provider "virtualbox" do |v|
+ v.memory = 1024
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.name = "node1"
end
config.vm.provision "puppet" do |puppet|
puppet.manifests_path = "./vagrant"
- puppet.module_path = "./puppet/modules"
+ puppet.module_path = "./puppet/modules"
puppet.manifest_file = "install-platform.pp"
puppet.options = "--verbose"
end