forked from chef-boneyard/chef-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
116 lines (100 loc) · 2.64 KB
/
.kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
driver:
name: vagrant
provisioner:
name: chef_zero
verifier:
name: inspec
platforms:
- name: centos-5.11
- name: centos-6.8
- name: centos-7.2
- name: debian-7.11
- name: debian-8.6
- name: fedora-25
- name: freebsd-9.3
- name: freebsd-10.3
- name: opensuse-13.2
- name: opensuse-leap-42.1
- name: sles-12-sp1
driver:
box: chef/sles-12-sp1-x86_64 # private box
- name: solaris-10.11
driver:
box: chef/solaris-10.11 # private box
- name: solaris-11.3
driver:
box: chef/solaris-11.3 # private box
- name: ubuntu-12.04
- name: ubuntu-14.04
- name: ubuntu-16.04
- name: windows-2008r2
driver:
box: chef/windows-server-2008r2-standard # private box
- name: windows-2012r2
driver:
box: chef/windows-server-2012r2-standard # private box
suites:
- name: service_bsd
run_list:
- recipe[chef-client::config]
- recipe[chef-client::bsd_service]
includes: ["freebsd-9.3", "freebsd-10.3"]
- name: service_init
run_list:
- recipe[chef-client::config]
- recipe[chef-client::init_service]
includes: ["centos-5.11", "centos-6.8", "debian-7.11", "sles-12-sp1"]
- name: service_runit
run_list:
- recipe[runit]
- recipe[chef-client::runit_service]
includes: ["centos-5.11", "centos-6.8", "debian-7.11"]
- name: service_systemd
run_list:
- recipe[chef-client::systemd_service]
includes: ["centos-7.2", "debian-8.6", "fedora-25", "ubuntu-16.04", "opensuse-13.2"]
- name: service_upstart
run_list:
- recipe[chef-client::upstart_service]
includes: ["ubuntu-12.04", "ubuntu-14.04"]
- name: service_smf
run_list:
- recipe[chef-client::smf_service]
includes: ["solaris-11.3", "solaris-10.11"]
- name: cron
run_list:
- recipe[cron::default]
- recipe[chef-client::cron]
excludes: ["windows-2008r2", "windows-2012r2"]
- name: config
run_list:
- recipe[chef-client::config]
attributes:
ohai:
disabled_plugins:
- Mdadm
plugin_path: "/tmp/kitchen/ohai/plugins"
- name: delete_validation
run_list:
- recipe[chef-client::delete_validation]
# Test that the we can use the cron_d directory
- name: cook-use_cron_d
run_list:
- recipe[cron::default]
- recipe[chef-client::cron]
attributes:
chef_client:
cron:
use_cron_d: true
excludes: ["windows-2008r2", "windows-2012r2"]
# Testing when we are using chef-client on a Chef Server
- name: server
run_list:
- recipe[chef-server]
- recipe[chef-client::config]
- recipe[chef-client::service]
includes: ["ubuntu-12.04", "ubuntu-14.04", "centos-6.8", "centos-7.2"]
- name: task
run_list:
- recipe[chef-client::task]
includes: ["windows-2008r2", "windows-2012r2"]