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