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