]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
6c8d8a4bbcb9ba611410340dac4645e013ca4c56
[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: letsencrypt
93     run_list:
94       - recipe[accounts::default]
95       - recipe[apt::default]
96       - role[letsencrypt]
97     attributes:
98       apt:
99         sources:
100           - openstreetmap
101   - name: memcached
102     run_list:
103       - recipe[munin::default]
104       - recipe[memcached::default]
105   - name: munin
106     run_list:
107       - recipe[munin::default]
108   - name: munin-server
109     run_list:
110       - recipe[munin::server]
111   - name: mysql
112     run_list:
113       - recipe[mysql::default]
114   - name: networking
115     run_list:
116       - recipe[networking::default]
117   - name: nodejs
118     run_list:
119       - recipe[nodejs::default]
120   - name: ntp
121     run_list:
122       - recipe[ntp::default]
123   - name: openssh
124     run_list:
125       - recipe[openssh::default]
126   - name: otrs
127     run_list:
128       - recipe[accounts::default]
129       - recipe[chef::default]
130       - role[otrs]
131   - name: python
132     run_list:
133       - recipe[python::default]
134   - name: spamassassin
135     run_list:
136       - recipe[spamassassin::default]
137   - name: tools
138     run_list:
139       - recipe[tools::default]