]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
Enable unified mode for custom resources
[chef.git] / .kitchen.yml
1 ---
2 driver:
3   name: dokken
4   chef_version: 16
5   env:
6     - container=dokken
7
8 transport:
9   name: dokken
10
11 provisioner:
12   name: dokken
13   chef_license: accept
14   data_bags_path: test/data_bags
15
16 verifier:
17   root_path: /opt/verifier
18   sudo: false
19
20 platforms:
21   - name: ubuntu-18.04
22     driver:
23       image: dokken/ubuntu-18.04
24       privileged: true
25       pid_one_command: /bin/systemd
26       intermediate_instructions:
27         - RUN /usr/bin/apt-get update -y
28   - name: ubuntu-20.04
29     driver:
30       image: dokken/ubuntu-20.04
31       privileged: true
32       pid_one_command: /bin/systemd
33       intermediate_instructions:
34         - RUN /usr/bin/apt-get update -y
35
36 suites:
37   - name: accounts
38     run_list:
39       - recipe[accounts::default]
40   - name: apache
41     run_list:
42       - recipe[apache::default]
43   - name: apt
44     run_list:
45       - recipe[apt::default]
46   - name: backup
47     run_list:
48       - recipe[backup::default]
49   - name: bind
50     run_list:
51       - recipe[bind::default]
52     attributes:
53       bind:
54         clients: none
55   - name: blog
56     run_list:
57       - recipe[blog::default]
58   - name: blogs
59     run_list:
60       - recipe[blogs::default]
61   - name: civicrm
62     run_list:
63       - recipe[civicrm::default]
64   - name: clamav
65     run_list:
66       - recipe[clamav::default]
67   - name: db-backup
68     run_list:
69       - recipe[db::backup]
70   - name: db-base
71     run_list:
72       - recipe[db::base]
73   - name: db-master
74     run_list:
75       - recipe[db::master]
76   - name: db-slave
77     run_list:
78       - recipe[db::slave]
79   - name: devices
80     run_list:
81       - recipe[devices::default]
82   - name: dhcpd
83     run_list:
84       - recipe[dhcpd::default]
85     attributes:
86       dhcpd:
87         first_address: 172.18.100.1
88         last_address: 172.18.100.254
89       networking:
90         interfaces:
91           test:
92             interface: eth0
93             role: internal
94             address: 172.18.0.2
95             prefix: 16
96             gateway: 172.18.0.1
97         roles:
98           external:
99             zone: test
100   - name: dmca
101     run_list:
102       - recipe[dmca::default]
103   - name: dns
104     run_list:
105       - recipe[dns::default]
106   - name: docker
107     run_list:
108       - recipe[docker::default]
109   - name: donate
110     run_list:
111       - recipe[donate::default]
112   - name: elasticsearch
113     run_list:
114       - recipe[elasticsearch::default]
115   - name: exim
116     run_list:
117       - recipe[exim::default]
118   - name: fail2ban
119     run_list:
120       - recipe[fail2ban::default]
121   - name: forum
122     run_list:
123       - recipe[forum::default]
124   - name: ftp
125     run_list:
126       - recipe[ftp::default]
127   - name: geodns
128     run_list:
129       - recipe[geodns::default]
130     attributes:
131       networking:
132         interfaces:
133           test:
134             role: external
135             address: 172.18.0.2
136   - name: geoipupdate
137     run_list:
138       - recipe[geoipupdate::default]
139   - name: git
140     run_list:
141       - recipe[git::default]
142   - name: git-server
143     run_list:
144       - recipe[git::server]
145   - name: git-web
146     run_list:
147       - recipe[git::web]
148   - name: gps-tile
149     run_list:
150       - recipe[gps-tile::default]
151   - name: hardware
152     run_list:
153       - recipe[hardware::default]
154   - name: hot
155     run_list:
156       - recipe[hot::default]
157   - name: incron
158     run_list:
159       - recipe[incron::default]
160   - name: irc
161     run_list:
162       - recipe[irc::default]
163   - name: kibana
164     run_list:
165       - recipe[kibana::default]
166   - name: letsencrypt
167     run_list:
168       - recipe[letsencrypt::default]
169     attributes:
170       apt:
171         sources:
172           - openstreetmap
173   - name: logstash
174     run_list:
175       - recipe[logstash::default]
176   - name: logstash-forwarder
177     run_list:
178       - recipe[logstash::forwarder]
179     attributes:
180       logstash:
181         forwarder:
182           filebeat.prospectors:
183             - input_type: log
184               paths:
185                 - /var/log/apache2/access.log
186               type: apache
187   - name: mail
188     run_list:
189       - role[mail]
190   - name: mailman
191     run_list:
192       - recipe[mailman::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: passenger
236     run_list:
237       - recipe[passenger::default]
238   - name: php
239     run_list:
240       - recipe[php::default]
241   - name: php-apache
242     run_list:
243       - recipe[php::apache]
244   - name: php-fpm
245     run_list:
246       - recipe[php::fpm]
247   - name: piwik
248     run_list:
249       - recipe[piwik::default]
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   - name: python
294     run_list:
295       - recipe[python::default]
296   - name: rsyncd
297     run_list:
298       - recipe[rsyncd::default]
299   - name: serverinfo
300     run_list:
301       - recipe[serverinfo::default]
302   - name: snmpd
303     run_list:
304       - recipe[snmpd::default]
305   - name: spamassassin
306     run_list:
307       - recipe[spamassassin::default]
308   - name: squid
309     run_list:
310       - recipe[squid::default]
311   - name: ssl
312     run_list:
313       - recipe[ssl::default]
314   - name: stateofthemap
315     run_list:
316       - recipe[stateofthemap::default]
317   - name: subversion
318     run_list:
319       - recipe[subversion::default]
320   - name: supybot
321     run_list:
322       - recipe[supybot::default]
323   - name: switch2osm
324     run_list:
325       - recipe[switch2osm::default]
326   - name: sysctl
327     run_list:
328       - recipe[sysctl::default]
329   - name: sysfs
330     run_list:
331       - recipe[sysfs::default]
332   - name: taginfo
333     run_list:
334       - recipe[taginfo::default]
335     attributes:
336       taginfo:
337         sites:
338           - name: taginfo.example.com
339   - name: tile
340     run_list:
341       - recipe[tile::default]
342   - name: tilecache
343     run_list:
344       - recipe[tilecache::default]
345   - name: tilelog
346     run_list:
347       - recipe[tilelog::default]
348   - name: timescaledb
349     run_list:
350       - recipe[timescaledb::default]
351   - name: tools
352     run_list:
353       - recipe[tools::default]
354   - name: trac
355     run_list:
356       - recipe[trac::default]
357   - name: web-backend
358     run_list:
359       - recipe[web::backend]
360   - name: web-cgimap
361     run_list:
362       - recipe[web::cgimap]
363   - name: web-frontend
364     run_list:
365       - recipe[web::frontend]
366   - name: web-rails
367     run_list:
368       - recipe[web::rails]
369   - name: wiki
370     run_list:
371       - recipe[wiki::default]
372   - name: wordpress
373     run_list:
374       - recipe[wordpress::default]