-
-
Notifications
You must be signed in to change notification settings - Fork 124
/
kitchen.yml
89 lines (83 loc) · 2.05 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
driver:
name: vagrant
gui: false
customize:
cpus: 2
memory: 4096
transport:
name: winrm
elevated: true
provisioner:
name: chef_zero
product_name: <%= ENV['CHEF_PRODUCT_NAME'] || 'chef' %>
deprecations_as_errors: true
chef_license: accept-no-persist
retry_on_exit_code:
- 35 # 35 is the exit code signaling that the node is rebooting
max_retries: 5
wait_for_retry: 90
verifier:
name: inspec
platforms:
- name: windows-2019
driver:
box: tas50/windows_2019
suites:
- name: default
run_list:
- recipe[test::default]
- name: client
run_list:
- recipe[sql_server::default]
attributes: {sql_server: {accept_eula: true}}
verifier:
controls:
- client
- name: server2012
run_list:
- recipe[sql_server::server]
attributes: {sql_server: {accept_eula: true, version: 2012, server_sa_password: Supersecurepassword123}}
verifier:
controls:
- server
inputs:
version: 2012
- name: server2016
run_list:
- recipe[sql_server::server]
attributes: {sql_server: {accept_eula: true, version: 2016, server_sa_password: Supersecurepassword123}}
verifier:
controls:
- server
inputs:
version: 2016
- name: server2017
run_list:
- recipe[sql_server::server]
attributes: {sql_server: {accept_eula: true, version: 2017, server_sa_password: Supersecurepassword123}}
verifier:
controls:
- server
inputs:
version: 2017
- name: server2019
run_list:
- recipe[sql_server::server]
attributes: {sql_server: {accept_eula: true, version: 2019, server_sa_password: Supersecurepassword123}}
verifier:
controls:
- server
inputs:
version: 2019
includes:
- windows-2016
- windows-2019
- name: install
run_list:
- recipe[test::install]
verifier:
controls:
- server
inputs:
version: 2012
attributes: {sql_server: {accept_eula: true, version: 2012, server_sa_password: Supersecurepassword123}}