Created
September 14, 2019 05:27
-
-
Save rohan-molloy/921ca0ecc7f18ee4c0ccc313d99bb6b4 to your computer and use it in GitHub Desktop.
WinRM test-kitchen configuration. Test-kitchen proxy driver connects to a Windows box, installs Chef (only_if needed) and runs a Policyfile. $kitchen_host, $kitchen_username, $kitchen_password must be defined in environment. Uses insecure WinRM (basic auth/no encryption)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
driver: | |
name: proxy | |
host: <%= ENV["kitchen_host"] %> | |
username: <%= ENV["kitchen_username"] %> | |
password: <%= ENV["kitchen_password"] %> | |
port: 5985 | |
transport: | |
name: winrm | |
elevated: true | |
provisioner: | |
name: chef_zero | |
chef_license: accept | |
verifier: | |
name: inspec | |
platforms: | |
- name: windows | |
suites: | |
- name: default | |
provisioner: | |
policyfile: Policyfile.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment