-
-
Notifications
You must be signed in to change notification settings - Fork 59
/
.kitchen.appveyor.yml
69 lines (63 loc) · 1.9 KB
/
.kitchen.appveyor.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
---
driver:
name: proxy
host: localhost
reset_command: "exit 0"
port: 5985
username: <%= ENV["machine_user"] %>
password: <%= ENV["machine_pass"] %>
provisioner:
name: chef_zero
client_rb:
chef_license: accept
retry_on_exit_code:
- 0
- 1 # Exit, success: You still must reboot, this just notes that the automatic restart flag was removed
- 2 # Exit, success, need to reboot
- 3 # Exit, success, with a non-critical failure: Typically seen when returning the DNS Delegation warning.
- 4 # Exit, success, with a non-critical failure, need to reboot: Typically seen when returning the DNS Delegation warning.
- 35 # 35 is the exit code signaling that the node is rebooting
- 1190 #1190 is the exit code signaling that a reboot is scheduled
wait_for_retry: 600 # May need to increase depending on computing resources.
max_retries: 1
verifier:
name: inspec
transport:
connection_retry_sleep: 300 # Prevent Winrm from failing out when DC is created.
winrm_transport: plaintext # When set to plaintext the winrm will run in one converge
platforms:
- name: windows-2012r2
driver:
box: tas50/windows_2012r2
customize:
memory: 2048
- name: windows-2016
driver:
box: tas50/windows_2016
customize:
memory: 2048
- name: windows-2019
driver:
box: tas50/windows_2016
customize:
memory: 2048
suites:
- name: default
run_list:
- recipe[windows_ad::default]
verifier:
inspec_tests:
- test/integration/default
attributes:
# - name: objects
# run_list:
# - recipe[windows_ad_test::setup_forest]
# - recipe[windows_ad_test::ou]
# - recipe[windows_ad_test::group]
# - recipe[windows_ad_test::user]
# verifier:
# inspec_tests:
# - test/integration/default
# - test/integration/forest
# - test/integration/objects
# attributes: