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