forked from chef-boneyard/chef-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kitchen.yml
126 lines (112 loc) · 2.86 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
117
118
119
120
121
122
123
124
125
126
driver:
name: vagrant
provisioner:
name: chef_zero
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: amazonlinux
driver_config:
box: mvbcoding/awslinux
- name: centos-6
- name: centos-7
- name: debian-8
- name: debian-9
- name: fedora-28
- name: freebsd-11
- name: opensuse-leap-42
- name: sles-11-sp2
driver:
box: chef/sles-11-sp2-x86_64 # private box
- name: sles-12-sp1
driver:
box: chef/sles-12-sp1-x86_64 # private box
- name: solaris-11.3
driver:
box: chef/solaris-11.3 # private box
- name: ubuntu-14.04
- name: ubuntu-16.04
- name: ubuntu-18.04
- name: windows-2016
provisioner:
product_name: chef
transport:
name: winrm
elevated: true
driver:
box: chef/windows-server-2016-standard # private box
transport:
name: winrm
elevated: true
- name: windows-2012r2-13
provisioner:
product_name: chef
product_version: 13
driver:
box: chef/windows-server-2012r2-standard # private box
transport:
name: winrm
elevated: true
- name: windows-2012r2-14
provisioner:
product_name: chef
product_version: 14
driver:
box: chef/windows-server-2012r2-standard # private box
transport:
name: winrm
elevated: true
suites:
- name: service_bsd
run_list:
- recipe[test::service]
includes: ["freebsd-11.0"]
- name: service_init
run_list:
- recipe[test::service]
includes: ["centos-6", "amazon-linux", "sles-11-sp2", "sles-12-sp1"]
- name: service_systemd
run_list:
- recipe[test::service]
includes: ["centos-7", "debian-8", "debian-9", "fedora-28", "ubuntu-16.04", "opensuse-leap-42"]
- name: service_upstart
run_list:
- recipe[test::service]
includes: ["ubuntu-14.04"]
- name: service_smf
run_list:
- recipe[test::service]
includes: ["solaris-11.3"]
- name: cron
run_list:
- recipe[test::cron]
excludes: ["windows-2012r2-13", "windows-2012r2-14", "windows-2016"]
- name: cron_daemon
run_list:
- recipe[test::cron]
attributes:
chef_client:
daemon_options: ["--run-lock-timeout 0"]
excludes: ["windows-2012r2-13", "windows-2012r2-14", "windows-2016"]
- name: timer_systemd
run_list:
- recipe[chef-client::systemd_service]
attributes:
chef_client:
systemd:
timer: true
includes: ["centos-7", "debian-8", "debian-9", "fedora-28", "ubuntu-16.04", "opensuse-leap-42"]
- name: config
run_list:
- recipe[test::config]
excludes: ["windows-2012r2-13", "windows-2012r2-14", "windows-2016"]
# Test that the we can use the cron_d directory
- name: use_cron_d
run_list:
- recipe[test::cook-use_cron_d]
excludes: ["windows-2012r2-13", "windows-2012r2-14", "windows-2016"]
- name: task
run_list:
- recipe[test::task]
includes: ["windows-2012r2-13", "windows-2012r2-14", "windows-2016"]