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