forked from sous-chefs/powershell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.cloud.yml
58 lines (56 loc) · 2.37 KB
/
.kitchen.cloud.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
---
driver:
name: azurerm
subscription_id: <%= ENV['AZURE_SUBSCRIPTION_ID'] %>
location: 'Central US'
machine_size: 'Basic_A2'
provisioner:
name: chef_zero_scheduled_task
require_chef_omnibus: 12
platforms:
- name: windows-2008r2-chef11.18.6
driver:
image_urn: MicrosoftWindowsServer:WindowsServer:2008-R2-SP1:latest
winrm_powershell_script: |-
winrm quickconfig -q
winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="512"}'
winrm set winrm/config '@{MaxTimeoutms="1800000"}'
winrm set winrm/config/service '@{AllowUnencrypted="true"}'
winrm set winrm/config/service/auth '@{Basic="true"}'
netsh advfirewall firewall set rule name="Windows Remote Management (HTTP-In)" profile=public protocol=tcp localport=5985 remoteip=localsubnet new remoteip=any
provisioner:
require_chef_omnibus: 11.18.6
- name: windows-2012-chef11.18.6
driver:
image_urn: MicrosoftWindowsServer:WindowsServer:2012-Datacenter:latest
provisioner:
require_chef_omnibus: 11.18.6
- name: windows-2012r2-chef11.18.6
driver:
image_urn: MicrosoftWindowsServer:WindowsServer:2012-R2-Datacenter:latest
provisioner:
require_chef_omnibus: 11.18.6
- name: windows-2016-tp-chef11.18.6
driver:
image_urn: MicrosoftWindowsServer:WindowsServer:Windows-Server-Technical-Preview:latest
provisioner:
require_chef_omnibus: 11.18.6
- name: windows-2008r2-chef12
driver:
image_urn: MicrosoftWindowsServer:WindowsServer:2008-R2-SP1:latest
winrm_powershell_script: |-
winrm quickconfig -q
winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="512"}'
winrm set winrm/config '@{MaxTimeoutms="1800000"}'
winrm set winrm/config/service '@{AllowUnencrypted="true"}'
winrm set winrm/config/service/auth '@{Basic="true"}'
netsh advfirewall firewall set rule name="Windows Remote Management (HTTP-In)" profile=public protocol=tcp localport=5985 remoteip=localsubnet new remoteip=any
- name: windows-2012-chef12
driver:
image_urn: MicrosoftWindowsServer:WindowsServer:2012-Datacenter:latest
- name: windows-2012r2-chef12
driver:
image_urn: MicrosoftWindowsServer:WindowsServer:2012-R2-Datacenter:latest
- name: windows-2016-tp-chef12
driver:
image_urn: MicrosoftWindowsServer:WindowsServer:Windows-Server-Technical-Preview:latest