]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
Bump serverspec from 2.42.0 to 2.42.1
[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             address: 172.18.0.2
101             prefix: 16
102             gateway: 172.18.0.1
103         roles:
104           external:
105             zone: test
106   - name: dmca
107     run_list:
108       - recipe[dmca::default]
109   - name: dns
110     run_list:
111       - recipe[dns::default]
112   - name: docker
113     run_list:
114       - recipe[docker::default]
115   - name: donate
116     run_list:
117       - recipe[donate::default]
118   - name: elasticsearch
119     run_list:
120       - recipe[elasticsearch::default]
121   - name: exim
122     run_list:
123       - recipe[exim::default]
124   - name: fail2ban
125     run_list:
126       - recipe[fail2ban::default]
127   - name: forum
128     run_list:
129       - recipe[forum::default]
130   - name: ftp
131     run_list:
132       - recipe[ftp::default]
133   - name: geodns
134     run_list:
135       - recipe[geodns::default]
136     attributes:
137       networking:
138         interfaces:
139           test:
140             role: external
141             address: 172.18.0.2
142   - name: geoipupdate
143     run_list:
144       - recipe[geoipupdate::default]
145   - name: git
146     run_list:
147       - recipe[git::default]
148   - name: git-server
149     run_list:
150       - recipe[git::server]
151   - name: git-web
152     run_list:
153       - recipe[git::web]
154   - name: gps-tile
155     run_list:
156       - recipe[gps-tile::default]
157   - name: hardware
158     run_list:
159       - recipe[hardware::default]
160   - name: hot
161     run_list:
162       - recipe[hot::default]
163   - name: incron
164     run_list:
165       - recipe[incron::default]
166   - name: irc
167     run_list:
168       - recipe[irc::default]
169   - name: kibana
170     run_list:
171       - recipe[kibana::default]
172   - name: letsencrypt
173     run_list:
174       - recipe[letsencrypt::default]
175   - name: logstash
176     run_list:
177       - recipe[logstash::default]
178   - name: logstash-forwarder
179     run_list:
180       - recipe[logstash::forwarder]
181     attributes:
182       logstash:
183         forwarder:
184           filebeat.inputs:
185             - type: filestream
186               id: apache
187               paths:
188                 - /var/log/apache2/access.log
189               fields:
190                 type: apache
191               fields_under_root: true
192   - name: mail
193     run_list:
194       - role[mail]
195   - name: mailman
196     run_list:
197       - recipe[mailman::default]
198   - name: matomo
199     run_list:
200       - recipe[matomo::default]
201   - name: memcached
202     run_list:
203       - recipe[memcached::default]
204   - name: munin
205     run_list:
206       - recipe[munin::default]
207   - name: munin-plugins
208     run_list:
209       - recipe[munin::plugins]
210   - name: munin-server
211     run_list:
212       - recipe[munin::server]
213   - name: mysql
214     run_list:
215       - recipe[mysql::default]
216   - name: networking
217     run_list:
218       - recipe[networking::default]
219   - name: nginx
220     run_list:
221       - recipe[nginx::default]
222   - name: nodejs
223     run_list:
224       - recipe[nodejs::default]
225   - name: nominatim
226     run_list:
227       - recipe[nominatim::default]
228   - name: ntp
229     run_list:
230       - recipe[ntp::default]
231   - name: openssh
232     run_list:
233       - recipe[openssh::default]
234   - name: osmosis
235     run_list:
236       - recipe[osmosis::default]
237   - name: osqa
238     run_list:
239       - recipe[osqa::default]
240   - name: otrs
241     run_list:
242       - recipe[otrs::default]
243   - name: overpass
244     run_list:
245       - recipe[overpass::default]
246   - name: passenger
247     run_list:
248       - recipe[passenger::default]
249   - name: php
250     run_list:
251       - recipe[php::default]
252   - name: php-apache
253     run_list:
254       - recipe[php::apache]
255   - name: php-fpm
256     run_list:
257       - recipe[php::fpm]
258   - name: planet
259     run_list:
260       - recipe[planet::default]
261   - name: planet-current
262     run_list:
263       - recipe[planet::current]
264   - name: planet-dump
265     run_list:
266       - recipe[planet::dump]
267   - name: planet-notes
268     run_list:
269       - recipe[planet::notes]
270     attributes:
271       web:
272         readonly_database_host: readonly
273   - name: planet-replication
274     run_list:
275       - recipe[planet::replication]
276     attributes:
277       web:
278         readonly_database_host: readonly
279   - name: postgresql
280     run_list:
281       - recipe[postgresql::default]
282     attributes:
283       postgresql:
284         versions:
285           - 10
286   - name: prometheus
287     run_list:
288       - recipe[prometheus::default]
289     attributes:
290       networking:
291         interfaces:
292           test:
293             interface: eth0
294             role: internal
295             address: 172.18.0.2
296             prefix: 16
297             gateway: 172.18.0.1
298   - name: prometheus-server
299     run_list:
300       - recipe[prometheus::server]
301     attributes:
302       prometheus:
303         promscale: true
304   - name: python
305     run_list:
306       - recipe[python::default]
307   - name: rsyncd
308     run_list:
309       - recipe[rsyncd::default]
310   - name: serverinfo
311     run_list:
312       - recipe[serverinfo::default]
313   - name: snmpd
314     run_list:
315       - recipe[snmpd::default]
316   - name: spamassassin
317     run_list:
318       - recipe[spamassassin::default]
319   - name: ssl
320     run_list:
321       - recipe[ssl::default]
322   - name: stateofthemap
323     run_list:
324       - recipe[stateofthemap::default]
325   - name: stateofthemap-static
326     run_list:
327       - recipe[stateofthemap::static]
328   - name: stateofthemap-jekyll
329     run_list:
330       - recipe[stateofthemap::jekyll]
331   - name: stateofthemap-wordpress
332     run_list:
333       - recipe[stateofthemap::wordpress]
334   - name: subversion
335     run_list:
336       - recipe[subversion::default]
337   - name: supybot
338     run_list:
339       - recipe[supybot::default]
340   - name: switch2osm
341     run_list:
342       - recipe[switch2osm::default]
343   - name: sysctl
344     run_list:
345       - recipe[sysctl::default]
346   - name: sysfs
347     run_list:
348       - recipe[sysfs::default]
349   - name: taginfo
350     run_list:
351       - recipe[taginfo::default]
352     attributes:
353       taginfo:
354         sites:
355           - name: taginfo.example.com
356   - name: tile
357     run_list:
358       - recipe[tile::default]
359   - name: tilelog
360     run_list:
361       - recipe[tilelog::default]
362   - name: timescaledb
363     run_list:
364       - recipe[timescaledb::default]
365   - name: tools
366     run_list:
367       - recipe[tools::default]
368   - name: trac
369     run_list:
370       - recipe[trac::default]
371   - name: web-cgimap
372     run_list:
373       - recipe[web::cgimap]
374   - name: web-frontend
375     run_list:
376       - recipe[web::frontend]
377   - name: web-rails
378     run_list:
379       - recipe[web::rails]
380   - name: wiki
381     run_list:
382       - recipe[wiki::default]
383   - name: wordpress
384     run_list:
385       - recipe[wordpress::default]