-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
59 lines (52 loc) · 1.75 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.synced_folder "puppet/", "/vagrant", type: "rsync",
rsync__exclude: ["Version3/", ".git/"]
config.vm.define "trusty" do |trusty|
trusty.vm.box = "ubuntu/trusty64"
trusty.vm.hostname = "va-trusty.puppet.lan"
trusty.vm.provider "virtualbox" do |v|
v.name = "Ubuntu 14 LTS x64 (vagrant)"
end
end
config.vm.define "precise" do |precise|
precise.vm.box = "ubuntu/precise64"
precise.vm.hostname = "va-precise.puppet.lan"
precise.vm.provider "virtualbox" do |v|
v.name = "Ubuntu 12 LTS x64 (vagrant)"
end
end
config.vm.define "jessie" do |jessie|
jessie.vm.box = "debian/jessie64"
jessie.vm.hostname = "va-jessie.puppet.lan"
jessie.vm.provider "virtualbox" do |v|
v.name = "Debian 8 x64 (vagrant)"
end
end
config.vm.define "wheezy" do |wheezy|
wheezy.vm.box = "debian/wheezy64"
wheezy.vm.hostname = "va-wheezy.puppet.lan"
wheezy.vm.provider "virtualbox" do |v|
v.name = "Debian 7 x64 (vagrant)"
end
end
config.vm.define "packager" do |packager|
packager.vm.box = "ubuntu/trusty64"
packager.vm.hostname = "packager.puppet.lan"
packager.vm.provider "virtualbox" do |v|
v.name = "Packager (vagrant)"
v.memory = 512
end
end
#config.vm.network :forwarded_port, guest: 80, host: 8080, id: "web"
config.vm.provision :shell, :path => "provision/bootstrap.sh"
config.vm.provision "puppet" do |puppet|
puppet.binary_path = "/opt/puppetlabs/bin/"
puppet.module_path = "puppet/modules"
puppet.environment_path = "puppet/environments"
puppet.environment = "production"
puppet.hiera_config_path = "puppet/hiera.yaml"
puppet.options = "--verbose --no-splay"
end
end