]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
Add tests for elasticsearch, kibana and logstash cookbooks
[chef.git] / .kitchen.yml
1 ---
2 driver:
3   name: dokken
4   chef_version: 14
5
6 transport:
7   name: dokken
8
9 provisioner:
10   name: dokken
11   data_bags_path: test/data_bags
12
13 verifier:
14   root_path: /opt/verifier
15   sudo: false
16
17 platforms:
18   - name: ubuntu-18.04
19     driver:
20       image: dokken/ubuntu-18.04
21       privileged: true
22       pid_one_command: /bin/systemd
23       intermediate_instructions:
24         - RUN /usr/bin/apt-get update -y
25
26 suites:
27   - name: accounts
28     run_list:
29       - recipe[accounts::default]
30   - name: apache
31     run_list:
32       - recipe[apache::default]
33   - name: apt
34     run_list:
35       - recipe[apt::default]
36   - name: backup
37     run_list:
38       - recipe[backup::default]
39   - name: bind
40     run_list:
41       - recipe[bind::default]
42     attributes:
43       bind:
44         clients: none
45   - name: blog
46     run_list:
47       - recipe[blog::default]
48   - name: blogs
49     run_list:
50       - recipe[blogs::default]
51   - name: civicrm
52     run_list:
53       - recipe[civicrm::default]
54   - name: clamav
55     run_list:
56       - recipe[clamav::default]
57   - name: db-backup
58     run_list:
59       - recipe[db::backup]
60   - name: db-base
61     run_list:
62       - recipe[db::base]
63   - name: db-master
64     run_list:
65       - recipe[db::master]
66   - name: db-slave
67     run_list:
68       - recipe[db::slave]
69   - name: devices
70     run_list:
71       - recipe[devices::default]
72   - name: dhcpd
73     run_list:
74       - recipe[dhcpd::default]
75     attributes:
76       dhcpd:
77         first_address: 172.18.100.1
78         last_address: 172.18.100.254
79       networking:
80         interfaces:
81           test:
82             interface: eth0
83             role: internal
84             address: 172.18.0.2
85             prefix: 16
86             gateway: 172.18.0.1
87         roles:
88           external:
89             zone: test
90   - name: dmca
91     run_list:
92       - recipe[dmca::default]
93   - name: donate
94     run_list:
95       - recipe[donate::default]
96   - name: elasticsearch
97     run_list:
98       - recipe[elasticsearch::default]
99   - name: exim
100     run_list:
101       - recipe[exim::default]
102   - name: fail2ban
103     run_list:
104       - recipe[fail2ban::default]
105   - name: forum
106     run_list:
107       - recipe[forum::default]
108   - name: ftp
109     run_list:
110       - recipe[ftp::default]
111   - name: geodns
112     run_list:
113       - recipe[geodns::default]
114     attributes:
115       networking:
116         interfaces:
117           test:
118             role: external
119             address: 172.18.0.2
120   - name: geoipupdate
121     run_list:
122       - recipe[geoipupdate::default]
123   - name: git
124     run_list:
125       - recipe[git::default]
126   - name: git-server
127     run_list:
128       - recipe[git::server]
129   - name: git-web
130     run_list:
131       - recipe[git::web]
132   - name: gps-tile
133     run_list:
134       - recipe[gps-tile::default]
135   - name: hardware
136     run_list:
137       - recipe[hardware::default]
138   - name: hot
139     run_list:
140       - recipe[hot::default]
141   - name: incron
142     run_list:
143       - recipe[incron::default]
144   - name: kibana
145     run_list:
146       - recipe[kibana::default]
147   - name: letsencrypt
148     run_list:
149       - recipe[letsencrypt::default]
150     attributes:
151       apt:
152         sources:
153           - openstreetmap
154   - name: logstash
155     run_list:
156       - recipe[logstash::default]
157   - name: logstash-forwarder
158     run_list:
159       - recipe[logstash::forwarder]
160     attributes:
161       logstash:
162         forwarder:
163           filebeat.prospectors:
164             - input_type: log
165               paths:
166                 - /var/log/apache2/access.log
167               type: apache
168   - name: mailman
169     run_list:
170       - recipe[mailman::default]
171   - name: memcached
172     run_list:
173       - recipe[memcached::default]
174   - name: munin
175     run_list:
176       - recipe[munin::default]
177   - name: munin-plugins
178     run_list:
179       - recipe[munin::plugins]
180   - name: munin-server
181     run_list:
182       - recipe[munin::server]
183   - name: mysql
184     run_list:
185       - recipe[mysql::default]
186   - name: networking
187     run_list:
188       - recipe[networking::default]
189   - name: nginx
190     run_list:
191       - recipe[nginx::default]
192   - name: nodejs
193     run_list:
194       - recipe[nodejs::default]
195   - name: ntp
196     run_list:
197       - recipe[ntp::default]
198   - name: openssh
199     run_list:
200       - recipe[openssh::default]
201   - name: osmosis
202     run_list:
203       - recipe[osmosis::default]
204   - name: osqa
205     run_list:
206       - recipe[osqa::default]
207   - name: otrs
208     run_list:
209       - recipe[otrs::default]
210   - name: passenger
211     run_list:
212       - recipe[passenger::default]
213   - name: piwik
214     run_list:
215       - recipe[piwik::default]
216   - name: planet
217     run_list:
218       - recipe[planet::default]
219   - name: planet-current
220     run_list:
221       - recipe[planet::current]
222   - name: planet-dump
223     run_list:
224       - recipe[planet::dump]
225   - name: planet-notes
226     run_list:
227       - recipe[planet::notes]
228     attributes:
229       web:
230         readonly_database_host: readonly
231   - name: planet-replication
232     run_list:
233       - recipe[planet::replication]
234     attributes:
235       web:
236         readonly_database_host: readonly
237   - name: postgresql
238     run_list:
239       - recipe[postgresql::default]
240     attributes:
241       postgresql:
242         versions:
243           - 10
244   - name: python
245     run_list:
246       - recipe[python::default]
247   - name: rsyncd
248     run_list:
249       - recipe[rsyncd::default]
250   - name: serverinfo
251     run_list:
252       - recipe[serverinfo::default]
253   - name: spamassassin
254     run_list:
255       - recipe[spamassassin::default]
256   - name: squid
257     run_list:
258       - recipe[squid::default]
259   - name: stateofthemap
260     run_list:
261       - recipe[stateofthemap::default]
262   - name: subversion
263     run_list:
264       - recipe[subversion::default]
265   - name: supybot
266     run_list:
267       - recipe[supybot::default]
268   - name: switch2osm
269     run_list:
270       - recipe[switch2osm::default]
271   - name: taginfo
272     run_list:
273       - recipe[taginfo::default]
274     attributes:
275       taginfo:
276         sites:
277           - name: taginfo.example.com
278   - name: tile
279     run_list:
280       - recipe[tile::default]
281   - name: tilecache
282     run_list:
283       - recipe[tilecache::default]
284   - name: tools
285     run_list:
286       - recipe[tools::default]
287   - name: trac
288     run_list:
289       - recipe[trac::default]
290   - name: web-backend
291     run_list:
292       - recipe[web::backend]
293   - name: web-cgimap
294     run_list:
295       - recipe[web::cgimap]
296   - name: web-frontend
297     run_list:
298       - recipe[web::frontend]
299   - name: web-rails
300     run_list:
301       - recipe[web::rails]