forked from e-valuation/EvaP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
36 lines (29 loc) · 1.12 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- mode: ruby -*-
# vi: set ft=ruby :
# needed for the hyper-v stuff
Vagrant.require_version ">= 1.7.4"
Vagrant.configure("2") do |config|
config.vm.box = "puppetlabs/ubuntu-14.04-64-puppet"
config.vm.box_version = "= 1.0.2"
# port forwarding for the http server and for pycharm
config.vm.network :forwarded_port, guest: 80, host: 8000
config.vm.network :forwarded_port, guest: 8000, host: 8080
# uncomment this to debug startup problems
#config.vm.provider :virtualbox do |v, override|
# v.gui = true
#end
config.vm.provider :hyperv do |vb, override|
override.vm.provision "provider-specific", preserve_order:true, type: :shell do |shell|
shell.path = "deployment/providers/hyperv.sh"
end
end
# This is a placeholder job that can be overridden in order to install
# puppet if needed *before* the actual provisioning happens
config.vm.provision "provider-specific", type: :shell do |shell|
shell.path = "deployment/providers/default.sh"
end
config.vm.provision :puppet do |puppet|
puppet.environment_path = "deployment"
puppet.environment = "testing_environment"
end
end