]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
b64b705ec0f79d085bda3da00f5ad98e8b22f326
[chef.git] / .kitchen.yml
1 ---
2 driver:
3   name: dokken
4   chef_version: 17
5   env:
6     - container=dokken
7
8 transport:
9   name: dokken
10
11 provisioner:
12   name: dokken
13   chef_license: accept
14   data_bags_path: test/data_bags
15
16 verifier:
17   root_path: /opt/verifier
18   sudo: false
19
20 platforms:
21   - name: ubuntu-20.04
22     driver:
23       image: dokken/ubuntu-20.04
24       privileged: true
25       pid_one_command: /bin/systemd
26       intermediate_instructions:
27         - RUN /usr/bin/apt-get update -y
28
29 suites:
30   - name: accounts
31     run_list:
32       - recipe[accounts::default]
33   - name: apache
34     run_list:
35       - recipe[apache::default]
36   - name: apt
37     run_list:
38       - recipe[apt::default]
39   - name: backup
40     run_list:
41       - recipe[backup::default]
42   - name: bind
43     run_list:
44       - recipe[bind::default]
45     attributes:
46       bind:
47         clients: none
48   - name: blog
49     run_list:
50       - recipe[blog::default]
51   - name: blogs
52     run_list:
53       - recipe[blogs::default]
54   - name: civicrm
55     run_list:
56       - recipe[civicrm::default]
57   - name: clamav
58     run_list:
59       - recipe[clamav::default]
60   - name: db-backup
61     run_list:
62       - recipe[db::backup]
63   - name: db-base
64     run_list:
65       - recipe[db::base]
66   - name: db-master
67     run_list:
68       - recipe[db::master]
69   - name: db-slave
70     run_list:
71       - recipe[db::slave]
72   - name: devices
73     run_list:
74       - recipe[devices::default]
75   - name: dhcpd
76     run_list:
77       - recipe[dhcpd::default]
78     attributes:
79       dhcpd:
80         first_address: 172.18.100.1
81         last_address: 172.18.100.254
82       networking:
83         interfaces:
84           test:
85             interface: eth0
86             role: internal
87             address: 172.18.0.2
88             prefix: 16
89             gateway: 172.18.0.1
90         roles:
91           external:
92             zone: test
93   - name: dmca
94     run_list:
95       - recipe[dmca::default]
96   - name: dns
97     run_list:
98       - recipe[dns::default]
99   - name: docker
100     run_list:
101       - recipe[docker::default]
102   - name: donate
103     run_list:
104       - recipe[donate::default]
105   - name: elasticsearch
106     run_list:
107       - recipe[elasticsearch::default]
108   - name: exim
109     run_list:
110       - recipe[exim::default]
111   - name: fail2ban
112     run_list:
113       - recipe[fail2ban::default]
114   - name: forum
115     run_list:
116       - recipe[forum::default]
117   - name: ftp
118     run_list:
119       - recipe[ftp::default]
120   - name: geodns
121     run_list:
122       - recipe[geodns::default]
123     attributes:
124       networking:
125         interfaces:
126           test:
127             role: external
128             address: 172.18.0.2
129   - name: geoipupdate
130     run_list:
131       - recipe[geoipupdate::default]
132   - name: git
133     run_list:
134       - recipe[git::default]
135   - name: git-server
136     run_list:
137       - recipe[git::server]
138   - name: git-web
139     run_list:
140       - recipe[git::web]
141   - name: gps-tile
142     run_list:
143       - recipe[gps-tile::default]
144   - name: hardware
145     run_list:
146       - recipe[hardware::default]
147   - name: hot
148     run_list:
149       - recipe[hot::default]
150   - name: incron
151     run_list:
152       - recipe[incron::default]
153   - name: irc
154     run_list:
155       - recipe[irc::default]
156   - name: kibana
157     run_list:
158       - recipe[kibana::default]
159   - name: letsencrypt
160     run_list:
161       - recipe[letsencrypt::default]
162     attributes:
163       apt:
164         sources:
165           - openstreetmap
166   - name: logstash
167     run_list:
168       - recipe[logstash::default]
169   - name: logstash-forwarder
170     run_list:
171       - recipe[logstash::forwarder]
172     attributes:
173       logstash:
174         forwarder:
175           filebeat.prospectors:
176             - input_type: log
177               paths:
178                 - /var/log/apache2/access.log
179               type: apache
180   - name: mail
181     run_list:
182       - role[mail]
183   - name: mailman
184     run_list:
185       - recipe[mailman::default]
186   - name: memcached
187     run_list:
188       - recipe[memcached::default]
189   - name: munin
190     run_list:
191       - recipe[munin::default]
192   - name: munin-plugins
193     run_list:
194       - recipe[munin::plugins]
195   - name: munin-server
196     run_list:
197       - recipe[munin::server]
198   - name: mysql
199     run_list:
200       - recipe[mysql::default]
201   - name: networking
202     run_list:
203       - recipe[networking::default]
204   - name: nginx
205     run_list:
206       - recipe[nginx::default]
207   - name: nodejs
208     run_list:
209       - recipe[nodejs::default]
210   - name: nominatim
211     run_list:
212       - recipe[nominatim::default]
213   - name: ntp
214     run_list:
215       - recipe[ntp::default]
216   - name: openssh
217     run_list:
218       - recipe[openssh::default]
219   - name: osmosis
220     run_list:
221       - recipe[osmosis::default]
222   - name: osqa
223     run_list:
224       - recipe[osqa::default]
225   - name: otrs
226     run_list:
227       - recipe[otrs::default]
228   - name: passenger
229     run_list:
230       - recipe[passenger::default]
231   - name: php
232     run_list:
233       - recipe[php::default]
234   - name: php-apache
235     run_list:
236       - recipe[php::apache]
237   - name: php-fpm
238     run_list:
239       - recipe[php::fpm]
240   - name: piwik
241     run_list:
242       - recipe[piwik::default]
243   - name: planet
244     run_list:
245       - recipe[planet::default]
246   - name: planet-current
247     run_list:
248       - recipe[planet::current]
249   - name: planet-dump
250     run_list:
251       - recipe[planet::dump]
252   - name: planet-notes
253     run_list:
254       - recipe[planet::notes]
255     attributes:
256       web:
257         readonly_database_host: readonly
258   - name: planet-replication
259     run_list:
260       - recipe[planet::replication]
261     attributes:
262       web:
263         readonly_database_host: readonly
264   - name: postgresql
265     run_list:
266       - recipe[postgresql::default]
267     attributes:
268       postgresql:
269         versions:
270           - 10
271   - name: prometheus
272     run_list:
273       - recipe[prometheus::default]
274     attributes:
275       networking:
276         interfaces:
277           test:
278             interface: eth0
279             role: internal
280             address: 172.18.0.2
281             prefix: 16
282             gateway: 172.18.0.1
283   - name: prometheus-server
284     run_list:
285       - recipe[prometheus::server]
286     attributes:
287       prometheus:
288         promscale: true
289   - name: python
290     run_list:
291       - recipe[python::default]
292   - name: rsyncd
293     run_list:
294       - recipe[rsyncd::default]
295   - name: serverinfo
296     run_list:
297       - recipe[serverinfo::default]
298   - name: snmpd
299     run_list:
300       - recipe[snmpd::default]
301   - name: spamassassin
302     run_list:
303       - recipe[spamassassin::default]
304   - name: squid
305     run_list:
306       - recipe[squid::default]
307   - name: ssl
308     run_list:
309       - recipe[ssl::default]
310   - name: stateofthemap
311     run_list:
312       - recipe[stateofthemap::default]
313   - name: subversion
314     run_list:
315       - recipe[subversion::default]
316   - name: supybot
317     run_list:
318       - recipe[supybot::default]
319   - name: switch2osm
320     run_list:
321       - recipe[switch2osm::default]
322   - name: sysctl
323     run_list:
324       - recipe[sysctl::default]
325   - name: sysfs
326     run_list:
327       - recipe[sysfs::default]
328   - name: taginfo
329     run_list:
330       - recipe[taginfo::default]
331     attributes:
332       taginfo:
333         sites:
334           - name: taginfo.example.com
335   - name: tile
336     run_list:
337       - recipe[tile::default]
338   - name: tilelog
339     run_list:
340       - recipe[tilelog::default]
341   - name: timescaledb
342     run_list:
343       - recipe[timescaledb::default]
344   - name: tools
345     run_list:
346       - recipe[tools::default]
347   - name: trac
348     run_list:
349       - recipe[trac::default]
350   - name: web-backend
351     run_list:
352       - recipe[web::backend]
353   - name: web-cgimap
354     run_list:
355       - recipe[web::cgimap]
356   - name: web-frontend
357     run_list:
358       - recipe[web::frontend]
359   - name: web-rails
360     run_list:
361       - recipe[web::rails]
362   - name: wiki
363     run_list:
364       - recipe[wiki::default]
365   - name: wordpress
366     run_list:
367       - recipe[wordpress::default]