forked from scotty-c/ucp-dockercon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
servers.yaml
62 lines (52 loc) · 2.45 KB
/
servers.yaml
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
---
-
box: scottyc/ubuntu-14-04-puppet-kernel-4-2
cpu: 2
ip: "172.17.10.101"
name: ucp-01
forward_ports:
- { guest: 443, host: 8443 }
ram: 4096
shell_commands:
- { shell: 'apt-get update -y' }
- { shell: 'apt-get install -y wget git' }
- { shell: 'mkdir ~/.docker || true' }
- { shell: 'mkdir /etc/docker/ || true && cp /vagrant/docker_subscription.lic /etc/docker/subscription.lic' }
- { shell: 'echo -e "172.17.10.101 ucp-01\n172.17.10.102 ucp-02\n172.17.10.103 ucp-03">/etc/hosts'}
- { shell: '/opt/puppet/bin/gem install r10k && ln -s /opt/puppet/bin/r10k /usr/bin/r10k || true'}
- { shell: 'cp /home/vagrant/ucp-01/Puppetfile /tmp && cd /tmp && r10k puppetfile install --verbose' }
- { shell: 'cp /home/vagrant/ucp-01/modules/* -R /tmp/modules || true' }
-
box: scottyc/ubuntu-14-04-puppet-kernel-4-2
cpu: 2
ip: "172.17.10.102"
name: ucp-02
forward_ports:
- { guest: 443, host: 9443 }
ram: 4096
shell_commands:
- { shell: 'apt-get update -y' }
- { shell: 'apt-get install -y wget git' }
- { shell: 'mkdir ~/.docker || true' }
- { shell: 'mkdir /etc/docker/ || true && cp /vagrant/docker_subscription.lic /etc/docker/subscription.lic' }
- { shell: 'echo -e "172.17.10.101 ucp-01\n172.17.10.102 ucp-02\n172.17.10.103 ucp-03">/etc/hosts'}
- { shell: '/opt/puppet/bin/gem install r10k && ln -s /opt/puppet/bin/r10k /usr/bin/r10k || true'}
- { shell: 'cp /home/vagrant/ucp-02/Puppetfile /tmp && cd /tmp && r10k puppetfile install --verbose' }
- { shell: 'cp /home/vagrant/ucp-02/modules/* -R /tmp/modules || true' }
-
box: scottyc/ubuntu-14-04-puppet-kernel-4-2
cpu: 2
ip: "172.17.10.103"
name: ucp-03
forward_ports:
- { guest: 443, host: 10443 }
ram: 4096
shell_commands:
- { shell: 'apt-get update -y' }
- { shell: 'apt-get install -y wget git' }
- { shell: 'mkdir ~/.docker || true' }
- { shell: 'mkdir /etc/docker/ || true && cp /vagrant/docker_subscription.lic /etc/docker/subscription.lic' }
- { shell: 'echo -e "172.17.10.101 ucp-01\n172.17.10.102 ucp-02\n172.17.10.103 ucp-03">/etc/hosts'}
- { shell: '/opt/puppet/bin/gem install r10k && ln -s /opt/puppet/bin/r10k /usr/bin/r10k || true'}
- { shell: 'cp /home/vagrant/ucp-03/Puppetfile /tmp && cd /tmp && r10k puppetfile install --verbose' }
- { shell: 'cp /home/vagrant/ucp-03/modules/* -R /tmp/modules || true' }