Skip to content

Instantly share code, notes, and snippets.

@ncjohnson
Created October 13, 2017 18:29
Show Gist options
  • Save ncjohnson/ecedc161ecfa13942f07dd803bb006f3 to your computer and use it in GitHub Desktop.
Save ncjohnson/ecedc161ecfa13942f07dd803bb006f3 to your computer and use it in GitHub Desktop.
.kitchen.yml example with box file
---
driver:
name: vagrant
provisioner:
name: chef_zero
verifier:
name: inspec
platforms:
- name: centos-7.2
- name: mwrock/Windows2012R2
os_type: windows
shell_type: powershell
driver:
gui: true
box: mwrock/Windows2012R2
box_url: https://atlas.hashicorp.com/mwrock/boxes/Windows2012R2
transport:
name: winrm
elevated: true
suites:
- name: windows2012r2
excludes: centos-7.2
run_list:
- recipe[windows_patch_compliance::windows_patch]
attributes:
verifier:
inspec_tests:
- https://github.com/chris-rock/windows-patch-benchmark
driver:
network:
- ['private_network', {ip: '33.33.33.30'}]
customize:
memory: 2048
cpus: 2
- name: compliance
excludes: mwrock/Windows2012R2
run_list:
- recipe[ntp]
- recipe[windows_patch_compliance::compliance]
attributes:
driver:
vm_hostname: compliance.patch.io
network:
- ['private_network', {ip: '33.33.33.40'}]
customize:
memory: 4096
cpus: 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment