]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
0e994e71c8dd8d3caf2d262a271b07f7ffb963bb
[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: munin
102     run_list:
103       - recipe[munin::default]
104   - name: munin-server
105     run_list:
106       - recipe[munin::server]
107   - name: mysql
108     run_list:
109       - recipe[mysql::default]
110   - name: networking
111     run_list:
112       - recipe[networking::default]
113   - name: ntp
114     run_list:
115       - recipe[ntp::default]
116   - name: openssh
117     run_list:
118       - recipe[openssh::default]
119   - name: otrs
120     run_list:
121       - recipe[accounts::default]
122       - recipe[chef::default]
123       - role[otrs]
124   - name: python
125     run_list:
126       - recipe[python::default]
127   - name: spamassassin
128     run_list:
129       - recipe[spamassassin::default]
130   - name: tools
131     run_list:
132       - recipe[tools::default]