]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
Rework apt repository configuration
[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   - name: logstash
168     run_list:
169       - recipe[logstash::default]
170   - name: logstash-forwarder
171     run_list:
172       - recipe[logstash::forwarder]
173     attributes:
174       logstash:
175         forwarder:
176           filebeat.inputs:
177             - type: filestream
178               id: apache
179               paths:
180                 - /var/log/apache2/access.log
181               fields:
182                 type: apache
183               fields_under_root: true
184   - name: mail
185     run_list:
186       - role[mail]
187   - name: mailman
188     run_list:
189       - recipe[mailman::default]
190   - name: matomo
191     run_list:
192       - recipe[matomo::default]
193   - name: memcached
194     run_list:
195       - recipe[memcached::default]
196   - name: munin
197     run_list:
198       - recipe[munin::default]
199   - name: munin-plugins
200     run_list:
201       - recipe[munin::plugins]
202   - name: munin-server
203     run_list:
204       - recipe[munin::server]
205   - name: mysql
206     run_list:
207       - recipe[mysql::default]
208   - name: networking
209     run_list:
210       - recipe[networking::default]
211   - name: nginx
212     run_list:
213       - recipe[nginx::default]
214   - name: nodejs
215     run_list:
216       - recipe[nodejs::default]
217   - name: nominatim
218     run_list:
219       - recipe[nominatim::default]
220   - name: ntp
221     run_list:
222       - recipe[ntp::default]
223   - name: openssh
224     run_list:
225       - recipe[openssh::default]
226   - name: osmosis
227     run_list:
228       - recipe[osmosis::default]
229   - name: osqa
230     run_list:
231       - recipe[osqa::default]
232   - name: otrs
233     run_list:
234       - recipe[otrs::default]
235   - name: overpass
236     run_list:
237       - recipe[overpass::default]
238   - name: passenger
239     run_list:
240       - recipe[passenger::default]
241   - name: php
242     run_list:
243       - recipe[php::default]
244   - name: php-apache
245     run_list:
246       - recipe[php::apache]
247   - name: php-fpm
248     run_list:
249       - recipe[php::fpm]
250   - name: planet
251     run_list:
252       - recipe[planet::default]
253   - name: planet-current
254     run_list:
255       - recipe[planet::current]
256   - name: planet-dump
257     run_list:
258       - recipe[planet::dump]
259   - name: planet-notes
260     run_list:
261       - recipe[planet::notes]
262     attributes:
263       web:
264         readonly_database_host: readonly
265   - name: planet-replication
266     run_list:
267       - recipe[planet::replication]
268     attributes:
269       web:
270         readonly_database_host: readonly
271   - name: postgresql
272     run_list:
273       - recipe[postgresql::default]
274     attributes:
275       postgresql:
276         versions:
277           - 10
278   - name: prometheus
279     run_list:
280       - recipe[prometheus::default]
281     attributes:
282       networking:
283         interfaces:
284           test:
285             interface: eth0
286             role: internal
287             address: 172.18.0.2
288             prefix: 16
289             gateway: 172.18.0.1
290   - name: prometheus-server
291     run_list:
292       - recipe[prometheus::server]
293     attributes:
294       prometheus:
295         promscale: true
296   - name: python
297     run_list:
298       - recipe[python::default]
299   - name: rsyncd
300     run_list:
301       - recipe[rsyncd::default]
302   - name: serverinfo
303     run_list:
304       - recipe[serverinfo::default]
305   - name: snmpd
306     run_list:
307       - recipe[snmpd::default]
308   - name: spamassassin
309     run_list:
310       - recipe[spamassassin::default]
311   - name: ssl
312     run_list:
313       - recipe[ssl::default]
314   - name: stateofthemap
315     run_list:
316       - recipe[stateofthemap::default]
317   - name: stateofthemap-static
318     run_list:
319       - recipe[stateofthemap::static]
320   - name: stateofthemap-jekyll
321     run_list:
322       - recipe[stateofthemap::jekyll]
323   - name: stateofthemap-wordpress
324     run_list:
325       - recipe[stateofthemap::wordpress]
326   - name: subversion
327     run_list:
328       - recipe[subversion::default]
329   - name: supybot
330     run_list:
331       - recipe[supybot::default]
332   - name: switch2osm
333     run_list:
334       - recipe[switch2osm::default]
335   - name: sysctl
336     run_list:
337       - recipe[sysctl::default]
338   - name: sysfs
339     run_list:
340       - recipe[sysfs::default]
341   - name: taginfo
342     run_list:
343       - recipe[taginfo::default]
344     attributes:
345       taginfo:
346         sites:
347           - name: taginfo.example.com
348   - name: tile
349     run_list:
350       - recipe[tile::default]
351   - name: tilelog
352     run_list:
353       - recipe[tilelog::default]
354   - name: timescaledb
355     run_list:
356       - recipe[timescaledb::default]
357   - name: tools
358     run_list:
359       - recipe[tools::default]
360   - name: trac
361     run_list:
362       - recipe[trac::default]
363   - name: web-cgimap
364     run_list:
365       - recipe[web::cgimap]
366   - name: web-frontend
367     run_list:
368       - recipe[web::frontend]
369   - name: web-rails
370     run_list:
371       - recipe[web::rails]
372   - name: wiki
373     run_list:
374       - recipe[wiki::default]
375   - name: wordpress
376     run_list:
377       - recipe[wordpress::default]