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