]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
Add tests for planet 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
16 platforms:
17   - name: ubuntu-18.04
18     driver:
19       image: dokken/ubuntu-18.04
20       privileged: true
21       pid_one_command: /bin/systemd
22       intermediate_instructions:
23         - RUN /usr/bin/apt-get update -y
24
25 suites:
26   - name: accounts
27     run_list:
28       - recipe[accounts::default]
29   - name: apache
30     run_list:
31       - recipe[apache::default]
32   - name: apt
33     run_list:
34       - recipe[apt::default]
35   - name: bind
36     run_list:
37       - recipe[bind::default]
38     attributes:
39       bind:
40         clients: none
41   - name: blogs
42     run_list:
43       - recipe[accounts::default]
44       - recipe[blogs::default]
45   - name: clamav
46     run_list:
47       - recipe[clamav::default]
48   - name: devices
49     run_list:
50       - recipe[devices::default]
51   - name: dhcpd
52     run_list:
53       - recipe[dhcpd::default]
54     attributes:
55       dhcpd:
56         first_address: 172.18.100.1
57         last_address: 172.18.100.254
58       networking:
59         interfaces:
60           test:
61             interface: eth0
62             role: internal
63             address: 172.18.0.2
64             prefix: 16
65             gateway: 172.18.0.1
66         roles:
67           external:
68             zone: test
69   - name: dmca
70     run_list:
71       - recipe[dmca::default]
72     attributes:
73       apache:
74         mpm: prefork
75   - name: donate
76     run_list:
77       - recipe[accounts::default]
78       - role[donate]
79     attributes:
80       apache:
81         mpm: prefork
82   - name: exim
83     run_list:
84       - recipe[exim::default]
85   - name: fail2ban
86     run_list:
87       - recipe[fail2ban::default]
88   - name: forum
89     run_list:
90       - recipe[accounts::default]
91       - role[forum]
92   - name: incron
93     run_list:
94       - recipe[incron::default]
95   - name: letsencrypt
96     run_list:
97       - recipe[accounts::default]
98       - recipe[apt::default]
99       - role[letsencrypt]
100     attributes:
101       apt:
102         sources:
103           - openstreetmap
104   - name: memcached
105     run_list:
106       - recipe[munin::default]
107       - recipe[memcached::default]
108   - name: munin
109     run_list:
110       - recipe[munin::default]
111   - name: munin-server
112     run_list:
113       - recipe[munin::server]
114   - name: mysql
115     run_list:
116       - recipe[mysql::default]
117   - name: networking
118     run_list:
119       - recipe[networking::default]
120   - name: nginx
121     run_list:
122       - recipe[munin::default]
123       - recipe[nginx::default]
124     attributes:
125       networking:
126         nameservers:
127           - 127.0.0.1
128   - name: nodejs
129     run_list:
130       - recipe[nodejs::default]
131   - name: ntp
132     run_list:
133       - recipe[ntp::default]
134   - name: openssh
135     run_list:
136       - recipe[openssh::default]
137   - name: osmosis
138     run_list:
139       - recipe[osmosis::default]
140   - name: otrs
141     run_list:
142       - recipe[accounts::default]
143       - recipe[chef::default]
144       - role[otrs]
145   - name: planet
146     run_list:
147       - recipe[planet::default]
148   - name: planet-dump
149     run_list:
150       - recipe[planet::dump]
151   - name: planet-notes
152     run_list:
153       - recipe[planet::notes]
154     attributes:
155       web:
156         readonly_database_host: readonly
157   - name: planet-replication
158     run_list:
159       - recipe[planet::replication]
160     attributes:
161       web:
162         readonly_database_host: readonly
163   - name: python
164     run_list:
165       - recipe[python::default]
166   - name: spamassassin
167     run_list:
168       - recipe[spamassassin::default]
169   - name: squid
170     run_list:
171       - recipe[apt::default]
172       - recipe[squid::default]
173   - name: tools
174     run_list:
175       - recipe[tools::default]