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