]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
Add test for switch2osm 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: clamav
49     run_list:
50       - recipe[clamav::default]
51   - name: devices
52     run_list:
53       - recipe[devices::default]
54   - name: dhcpd
55     run_list:
56       - recipe[dhcpd::default]
57     attributes:
58       dhcpd:
59         first_address: 172.18.100.1
60         last_address: 172.18.100.254
61       networking:
62         interfaces:
63           test:
64             interface: eth0
65             role: internal
66             address: 172.18.0.2
67             prefix: 16
68             gateway: 172.18.0.1
69         roles:
70           external:
71             zone: test
72   - name: dmca
73     run_list:
74       - recipe[dmca::default]
75     attributes:
76       apache:
77         mpm: prefork
78   - name: donate
79     run_list:
80       - recipe[donate::default]
81     attributes:
82       apache:
83         mpm: prefork
84   - name: exim
85     run_list:
86       - recipe[exim::default]
87   - name: fail2ban
88     run_list:
89       - recipe[fail2ban::default]
90   - name: forum
91     run_list:
92       - recipe[forum::default]
93     attributes:
94       apache:
95         mpm: prefork
96   - name: geoipupdate
97     run_list:
98       - recipe[geoipupdate::default]
99   - name: incron
100     run_list:
101       - recipe[incron::default]
102   - name: letsencrypt
103     run_list:
104       - recipe[letsencrypt::default]
105     attributes:
106       apt:
107         sources:
108           - openstreetmap
109   - name: memcached
110     run_list:
111       - recipe[memcached::default]
112   - name: munin
113     run_list:
114       - recipe[munin::default]
115   - name: munin-plugins
116     run_list:
117       - recipe[munin::plugins]
118   - name: munin-server
119     run_list:
120       - recipe[munin::server]
121   - name: mysql
122     run_list:
123       - recipe[mysql::default]
124   - name: networking
125     run_list:
126       - recipe[networking::default]
127   - name: nginx
128     run_list:
129       - recipe[nginx::default]
130   - name: nodejs
131     run_list:
132       - recipe[nodejs::default]
133   - name: ntp
134     run_list:
135       - recipe[ntp::default]
136   - name: openssh
137     run_list:
138       - recipe[openssh::default]
139   - name: osmosis
140     run_list:
141       - recipe[osmosis::default]
142   - name: otrs
143     run_list:
144       - recipe[otrs::default]
145   - name: passenger
146     run_list:
147       - recipe[passenger::default]
148   - name: planet
149     run_list:
150       - recipe[planet::default]
151   - name: planet-dump
152     run_list:
153       - recipe[planet::dump]
154   - name: planet-notes
155     run_list:
156       - recipe[planet::notes]
157     attributes:
158       web:
159         readonly_database_host: readonly
160   - name: planet-replication
161     run_list:
162       - recipe[planet::replication]
163     attributes:
164       web:
165         readonly_database_host: readonly
166   - name: postgresql
167     run_list:
168       - recipe[postgresql::default]
169     attributes:
170       postgresql:
171         versions:
172           - 10
173   - name: python
174     run_list:
175       - recipe[python::default]
176   - name: serverinfo
177     run_list:
178       - recipe[serverinfo::default]
179   - name: spamassassin
180     run_list:
181       - recipe[spamassassin::default]
182   - name: squid
183     run_list:
184       - recipe[squid::default]
185   - name: stateofthemap
186     run_list:
187       - recipe[stateofthemap::default]
188   - name: switch2osm
189     run_list:
190       - recipe[switch2osm::default]
191   - name: tilecache
192     run_list:
193       - recipe[tilecache::default]
194   - name: tools
195     run_list:
196       - recipe[tools::default]
197   - name: web-backend
198     run_list:
199       - recipe[web::backend]
200   - name: web-cgimap
201     run_list:
202       - recipe[web::cgimap]
203   - name: web-frontend
204     run_list:
205       - recipe[web::frontend]
206   - name: web-rails
207     run_list:
208       - recipe[web::rails]