]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
0eebce5fea3ce42e0aa3a8a1ab361b6c70446db8
[chef.git] / .kitchen.yml
1 ---
2 driver:
3   name: dokken
4   chef_version: 14
5
6 transport:
7   name: dokken
8
9 provisioner:
10   name: dokken
11   data_bags_path: test/data_bags
12
13 verifier:
14   root_path: /opt/verifier
15
16 platforms:
17   - name: ubuntu-18.04
18     driver:
19       image: dokken/ubuntu-18.04
20       privileged: true
21       pid_one_command: /bin/systemd
22       intermediate_instructions:
23         - RUN /usr/bin/apt-get update -y
24
25 suites:
26   - name: accounts
27     run_list:
28       - recipe[accounts::default]
29   - name: apache
30     run_list:
31       - recipe[apache::default]
32   - name: apt
33     run_list:
34       - recipe[apt::default]
35   - name: bind
36     run_list:
37       - recipe[bind::default]
38     attributes:
39       bind:
40         clients: none
41   - name: blogs
42     run_list:
43       - recipe[accounts::default]
44       - recipe[blogs::default]
45   - name: clamav
46     run_list:
47       - recipe[clamav::default]
48   - name: devices
49     run_list:
50       - recipe[devices::default]
51   - name: dhcpd
52     run_list:
53       - recipe[dhcpd::default]
54     attributes:
55       dhcpd:
56         first_address: 172.18.100.1
57         last_address: 172.18.100.254
58       networking:
59         interfaces:
60           test:
61             interface: eth0
62             role: internal
63             address: 172.18.0.2
64             prefix: 16
65             gateway: 172.18.0.1
66         roles:
67           external:
68             zone: test
69   - name: dmca
70     run_list:
71       - recipe[dmca::default]
72     attributes:
73       apache:
74         mpm: prefork
75   - name: donate
76     run_list:
77       - recipe[accounts::default]
78       - role[donate]
79     attributes:
80       apache:
81         mpm: prefork
82   - name: exim
83     run_list:
84       - recipe[exim::default]
85   - name: fail2ban
86     run_list:
87       - recipe[fail2ban::default]
88   - name: forum
89     run_list:
90       - recipe[accounts::default]
91       - role[forum]
92   - name: letsencrypt
93     run_list:
94       - recipe[accounts::default]
95       - recipe[apt::default]
96       - role[letsencrypt]
97     attributes:
98       apt:
99         sources:
100           - openstreetmap
101   - name: memcached
102     run_list:
103       - recipe[munin::default]
104       - recipe[memcached::default]
105   - name: munin
106     run_list:
107       - recipe[munin::default]
108   - name: munin-server
109     run_list:
110       - recipe[munin::server]
111   - name: mysql
112     run_list:
113       - recipe[mysql::default]
114   - name: networking
115     run_list:
116       - recipe[networking::default]
117   - name: nginx
118     run_list:
119       - recipe[munin::default]
120       - recipe[nginx::default]
121     attributes:
122       networking:
123         nameservers:
124           - 127.0.0.1
125   - name: nodejs
126     run_list:
127       - recipe[nodejs::default]
128   - name: ntp
129     run_list:
130       - recipe[ntp::default]
131   - name: openssh
132     run_list:
133       - recipe[openssh::default]
134   - name: otrs
135     run_list:
136       - recipe[accounts::default]
137       - recipe[chef::default]
138       - role[otrs]
139   - name: python
140     run_list:
141       - recipe[python::default]
142   - name: spamassassin
143     run_list:
144       - recipe[spamassassin::default]
145   - name: squid
146     run_list:
147       - recipe[apt::default]
148       - recipe[squid::default]
149   - name: tools
150     run_list:
151       - recipe[tools::default]