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