forked from e-valuation/EvaP
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVagrantfile
28 lines (22 loc) · 982 Bytes
/
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Base box to build off, and download URL for when it doesn't exist on the user's system already
config.vm.box = "precise64"
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine.
config.vm.network :forwarded_port, guest: 80, host: 8000
config.vm.network :forwarded_port, guest: 8000, host: 8080
config.vm.provider :virtualbox do |vb, override|
vb.customize ["modifyvm", :id, "--memory", "1024"]
override.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210.box"
end
config.vm.provider :lxc do |v, override|
override.vm.box_url = "http://bit.ly/vagrant-lxc-precise64-2013-10-23"
end
config.vm.provision :puppet do |puppet|
puppet.module_path = "deployment/modules"
puppet.manifests_path = "deployment"
puppet.manifest_file = "site.pp"
end
end