-
Notifications
You must be signed in to change notification settings - Fork 2
/
.kitchen.yml
62 lines (57 loc) · 1.7 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
---
driver:
name: azurerm
driver_config:
subscription_id: '00000000-YOUR-GUID-HERE-000000000000'
location: 'Central US'
machine_size: ''Standard_D3_v2''
provisioner:
name: chef_zero
retry_on_exit_code:
- [35, 37, 41]
max_retries: 15
wait_for_retry: 600
client_rb:
exit_status: enabled
client_fork: false
platforms:
- name: windows2012-r2-latest
driver_config:
image_urn: MicrosoftWindowsServer:WindowsServer:2012-R2-Datacenter:latest
vm_name: 2012r2-latest
transport:
name: winrm
elevated: true
- name: windows2012-r2-old
driver_config:
# NOTE: If you don't specify an out of date Azure URN there will not be
# any updates to apply. You can get a current list of 2012R2 URNs by running
# az vm image list --all --sku 2012-R2-Datacenter
image_urn: MicrosoftWindowsServer:WindowsServer:2012-R2-Datacenter:4.127.20170510
vm_name: 2012r2-old
transport:
name: winrm
elevated: true
suites:
- name: server
run_list:
- recipe[wsus::server]
verifier:
inspec_tests:
- test/smoke/default
attributes:
excludes:
- windows2012-r2-old
- name: client
run_list:
- recipe[wsus::client]
verifier:
inspec_tests:
- test/smoke/default
attributes:
wsus_client:
# NOTE: this needs to be set on each run, the DNS entry from the AzureRM driver creates
# as kitchen-[driver UUID].[location].cloudapp.azure.com
# the UUID can be found in .kitchen/server-windows2012-r2.yml
# Don't forget to include 'http://' and ':8530' in the WSUS server string
wsus_server: "http://kitchen-87c454246ba8713e.centralus.cloudapp.azure.com:8530"