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