-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathservers.yaml
More file actions
74 lines (71 loc) · 3.07 KB
/
servers.yaml
File metadata and controls
74 lines (71 loc) · 3.07 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
-
box: bento/ubuntu-18.04
cpu: 1
ip: "172.17.10.105"
name: node-01
forward_ports: []
ram: 1024
shell_commands:
- { shell: 'ufw disable'}
- { shell: 'wget https://apt.puppetlabs.com/puppet6-release-xenial.deb && sudo dpkg -i puppet6-release-xenial.deb' }
- { shell: 'apt-get update -y && apt-get install vim git puppet-agent rubygems ruby-dev -y'}
- { shell: 'gem install r10k' }
- { shell: 'cp /home/vagrant/node-01/Puppetfile /tmp && cd /tmp && r10k puppetfile install --verbose' }
- { shell: 'cp /home/vagrant/node-01/modules/* -R /tmp/modules || true' }
-
box: bento/debian-8.6
cpu: 1
ip: "172.17.10.106"
name: node-02
forward_ports: []
ram: 1024
shell_commands:
- { shell: 'wget https://apt.puppetlabs.com/puppet6-release-jessie.deb && sudo dpkg -i puppet6-release-jessie.deb' }
- { shell: 'apt-get update -y && apt-get install vim git puppet-agent rubygems ruby-dev -y'}
- { shell: 'gem install r10k' }
- { shell: 'cp /home/vagrant/node-02/Puppetfile /tmp && cd /tmp && r10k puppetfile install --verbose' }
- { shell: 'cp /home/vagrant/node-02/modules/* -R /tmp/modules || true' }
-
box: bento/ubuntu-18.04
cpu: 1
ip: "172.17.10.107"
name: node-03
forward_ports: []
ram: 1024
shell_commands:
- { shell: 'ufw disable'}
- { shell: 'wget https://apt.puppetlabs.com/puppet6-release-bionic.deb && dpkg -i puppet6-release-bionic.deb' }
- { shell: 'apt-get update -y && apt-get install vim git puppet-agent rubygems ruby-dev -y'}
- { shell: 'gem install r10k' }
- { shell: 'cp /home/vagrant/node-03/Puppetfile /tmp && cd /tmp && r10k puppetfile install --verbose' }
- { shell: 'cp /home/vagrant/node-03/modules/* -R /tmp/modules || true' }
-
box: bento/centos-7.5
cpu: 1
ip: "172.17.10.105"
name: node-04
forward_ports: []
ram: 1024
shell_commands:
- { shell: 'systemctl stop firewalld && systemctl disable firewalld'}
- { shell: 'rpm -q puppet6-release-6.0.0-1.el7.noarch || sudo rpm -Uvh https://yum.puppet.com/puppet6/puppet6-release-el-7.noarch.rpm'}
- { shell: 'yum install vim git puppet-agent rubygems ruby-devel -y' }
- { shell: 'gem install r10k -v 2.6.3'}
- { shell: '[ -f /usr/bin/r10k ] || ln -s /usr/local/bin/r10k /usr/bin/r10k' }
- { shell: 'cp /home/vagrant/node-04/Puppetfile /tmp && cd /tmp && r10k puppetfile install --verbose' }
- { shell: 'cp /home/vagrant/node-04/modules/* -R /tmp/modules || true' }
-
box: bento/ubuntu-14.04
cpu: 1
ip: "172.17.10.110"
name: node-05
forward_ports: []
ram: 1024
shell_commands:
- { shell: 'ufw disable'}
- { shell: 'wget https://apt.puppetlabs.com/puppet5-release-wheezy.deb && sudo dpkg -i puppet5-release-wheezy.deb' }
- { shell: 'apt-get update -y && apt-get install vim git puppet-agent ruby ruby-dev -y'}
- { shell: 'gem install r10k -v 2.6.3' }
- { shell: 'cp /home/vagrant/node-05/Puppetfile /tmp && cd /tmp && r10k puppetfile install --verbose' }
- { shell: 'cp /home/vagrant/node-05/modules/* -R /tmp/modules || true' }