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