]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
Add test for civicrm 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: geodns
91     run_list:
92       - recipe[geodns::default]
93     attributes:
94       networking:
95         interfaces:
96           test:
97             role: external
98             address: 172.18.0.2
99   - name: geoipupdate
100     run_list:
101       - recipe[geoipupdate::default]
102   - name: incron
103     run_list:
104       - recipe[incron::default]
105   - name: letsencrypt
106     run_list:
107       - recipe[letsencrypt::default]
108     attributes:
109       apt:
110         sources:
111           - openstreetmap
112   - name: mailman
113     run_list:
114       - recipe[mailman::default]
115   - name: memcached
116     run_list:
117       - recipe[memcached::default]
118   - name: munin
119     run_list:
120       - recipe[munin::default]
121   - name: munin-plugins
122     run_list:
123       - recipe[munin::plugins]
124   - name: munin-server
125     run_list:
126       - recipe[munin::server]
127   - name: mysql
128     run_list:
129       - recipe[mysql::default]
130   - name: networking
131     run_list:
132       - recipe[networking::default]
133   - name: nginx
134     run_list:
135       - recipe[nginx::default]
136   - name: nodejs
137     run_list:
138       - recipe[nodejs::default]
139   - name: ntp
140     run_list:
141       - recipe[ntp::default]
142   - name: openssh
143     run_list:
144       - recipe[openssh::default]
145   - name: osmosis
146     run_list:
147       - recipe[osmosis::default]
148   - name: otrs
149     run_list:
150       - recipe[otrs::default]
151   - name: passenger
152     run_list:
153       - recipe[passenger::default]
154   - name: piwik
155     run_list:
156       - recipe[piwik::default]
157   - name: planet
158     run_list:
159       - recipe[planet::default]
160   - name: planet-dump
161     run_list:
162       - recipe[planet::dump]
163   - name: planet-notes
164     run_list:
165       - recipe[planet::notes]
166     attributes:
167       web:
168         readonly_database_host: readonly
169   - name: planet-replication
170     run_list:
171       - recipe[planet::replication]
172     attributes:
173       web:
174         readonly_database_host: readonly
175   - name: postgresql
176     run_list:
177       - recipe[postgresql::default]
178     attributes:
179       postgresql:
180         versions:
181           - 10
182   - name: python
183     run_list:
184       - recipe[python::default]
185   - name: rsyncd
186     run_list:
187       - recipe[rsyncd::default]
188   - name: serverinfo
189     run_list:
190       - recipe[serverinfo::default]
191   - name: spamassassin
192     run_list:
193       - recipe[spamassassin::default]
194   - name: squid
195     run_list:
196       - recipe[squid::default]
197   - name: stateofthemap
198     run_list:
199       - recipe[stateofthemap::default]
200   - name: switch2osm
201     run_list:
202       - recipe[switch2osm::default]
203   - name: taginfo
204     run_list:
205       - recipe[taginfo::default]
206     attributes:
207       taginfo:
208         sites:
209           - name: taginfo.example.com
210   - name: tilecache
211     run_list:
212       - recipe[tilecache::default]
213   - name: tools
214     run_list:
215       - recipe[tools::default]
216   - name: web-backend
217     run_list:
218       - recipe[web::backend]
219   - name: web-cgimap
220     run_list:
221       - recipe[web::cgimap]
222   - name: web-frontend
223     run_list:
224       - recipe[web::frontend]
225   - name: web-rails
226     run_list:
227       - recipe[web::rails]