forked from oysteing/vagrant-puppet-jira
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
37 lines (29 loc) · 1.01 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "2048"]
vb.customize ["modifyvm", :id, "--cpus", "4"]
end
config.vm.define "jira1" do |jira1|
jira1.vm.box = "centos/7"
jira1.vm.hostname = "jira.home"
jira1.vm.network :private_network, ip: "192.168.33.10"
end
config.vm.define "jira2" do |jira2|
jira2.vm.box = "centos/6"
jira2.vm.hostname = "jira.home"
jira2.vm.network :private_network, ip: "192.168.33.11"
end
config.vm.define "jira3" do |jira3|
jira3.vm.box = "ubuntu/xenial64"
jira3.vm.hostname = "jira.home"
jira3.vm.network :private_network, ip: "192.168.33.12"
end
config.vm.provision "shell", path: "scripts/install-puppet.sh"
config.vm.provision "puppet" do |puppet|
puppet.manifest_file = "site.pp"
end
end