]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
Add test for hardware cookbook
[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: bind
37     run_list:
38       - recipe[bind::default]
39     attributes:
40       bind:
41         clients: none
42   - name: blog
43     run_list:
44       - recipe[blog::default]
45   - name: blogs
46     run_list:
47       - recipe[blogs::default]
48   - name: civicrm
49     run_list:
50       - recipe[civicrm::default]
51   - name: clamav
52     run_list:
53       - recipe[clamav::default]
54   - name: devices
55     run_list:
56       - recipe[devices::default]
57   - name: dhcpd
58     run_list:
59       - recipe[dhcpd::default]
60     attributes:
61       dhcpd:
62         first_address: 172.18.100.1
63         last_address: 172.18.100.254
64       networking:
65         interfaces:
66           test:
67             interface: eth0
68             role: internal
69             address: 172.18.0.2
70             prefix: 16
71             gateway: 172.18.0.1
72         roles:
73           external:
74             zone: test
75   - name: dmca
76     run_list:
77       - recipe[dmca::default]
78   - name: donate
79     run_list:
80       - recipe[donate::default]
81   - name: exim
82     run_list:
83       - recipe[exim::default]
84   - name: fail2ban
85     run_list:
86       - recipe[fail2ban::default]
87   - name: forum
88     run_list:
89       - recipe[forum::default]
90   - name: ftp
91     run_list:
92       - recipe[ftp::default]
93   - name: geodns
94     run_list:
95       - recipe[geodns::default]
96     attributes:
97       networking:
98         interfaces:
99           test:
100             role: external
101             address: 172.18.0.2
102   - name: geoipupdate
103     run_list:
104       - recipe[geoipupdate::default]
105   - name: gps-tile
106     run_list:
107       - recipe[gps-tile::default]
108   - name: hardware
109     run_list:
110       - recipe[hardware::default]
111   - name: incron
112     run_list:
113       - recipe[incron::default]
114   - name: letsencrypt
115     run_list:
116       - recipe[letsencrypt::default]
117     attributes:
118       apt:
119         sources:
120           - openstreetmap
121   - name: mailman
122     run_list:
123       - recipe[mailman::default]
124   - name: memcached
125     run_list:
126       - recipe[memcached::default]
127   - name: munin
128     run_list:
129       - recipe[munin::default]
130   - name: munin-plugins
131     run_list:
132       - recipe[munin::plugins]
133   - name: munin-server
134     run_list:
135       - recipe[munin::server]
136   - name: mysql
137     run_list:
138       - recipe[mysql::default]
139   - name: networking
140     run_list:
141       - recipe[networking::default]
142   - name: nginx
143     run_list:
144       - recipe[nginx::default]
145   - name: nodejs
146     run_list:
147       - recipe[nodejs::default]
148   - name: ntp
149     run_list:
150       - recipe[ntp::default]
151   - name: openssh
152     run_list:
153       - recipe[openssh::default]
154   - name: osmosis
155     run_list:
156       - recipe[osmosis::default]
157   - name: osqa
158     run_list:
159       - recipe[osqa::default]
160   - name: otrs
161     run_list:
162       - recipe[otrs::default]
163   - name: passenger
164     run_list:
165       - recipe[passenger::default]
166   - name: piwik
167     run_list:
168       - recipe[piwik::default]
169   - name: planet
170     run_list:
171       - recipe[planet::default]
172   - name: planet-dump
173     run_list:
174       - recipe[planet::dump]
175   - name: planet-notes
176     run_list:
177       - recipe[planet::notes]
178     attributes:
179       web:
180         readonly_database_host: readonly
181   - name: planet-replication
182     run_list:
183       - recipe[planet::replication]
184     attributes:
185       web:
186         readonly_database_host: readonly
187   - name: postgresql
188     run_list:
189       - recipe[postgresql::default]
190     attributes:
191       postgresql:
192         versions:
193           - 10
194   - name: python
195     run_list:
196       - recipe[python::default]
197   - name: rsyncd
198     run_list:
199       - recipe[rsyncd::default]
200   - name: serverinfo
201     run_list:
202       - recipe[serverinfo::default]
203   - name: spamassassin
204     run_list:
205       - recipe[spamassassin::default]
206   - name: squid
207     run_list:
208       - recipe[squid::default]
209   - name: stateofthemap
210     run_list:
211       - recipe[stateofthemap::default]
212   - name: switch2osm
213     run_list:
214       - recipe[switch2osm::default]
215   - name: taginfo
216     run_list:
217       - recipe[taginfo::default]
218     attributes:
219       taginfo:
220         sites:
221           - name: taginfo.example.com
222   - name: tilecache
223     run_list:
224       - recipe[tilecache::default]
225   - name: tools
226     run_list:
227       - recipe[tools::default]
228   - name: trac
229     run_list:
230       - recipe[trac::default]
231   - name: web-backend
232     run_list:
233       - recipe[web::backend]
234   - name: web-cgimap
235     run_list:
236       - recipe[web::cgimap]
237   - name: web-frontend
238     run_list:
239       - recipe[web::frontend]
240   - name: web-rails
241     run_list:
242       - recipe[web::rails]