Reputation: 13
I created a vagrant box out of windows 8.1 embedded OS that I have which includes winrm access. However when I try to create an instance using "Kitchen create", it's pulling the box and everything but kitchen's attempting to connect to Instance over ssh and and not winrm.(I configured transport option in kitchen.yml to winrm, still doesn't work)
---
driver:
name: vagrant
provisioner:
name: chef_zero
# You may wish to disable always updating cookbooks in CI or other testing environments.
# For example:
# always_update_cookbooks: <%= !ENV['CI'] %>
always_update_cookbooks: true
verifier:
name: inspec
platforms:
- name: testwin
transport:
name: winrm
username: vagrant
password: vagrant
suites:
- name: default
run_list:
- recipe[winrm::default]
verifier:
inspec_tests:
- test/integration/default
attributes:
Upvotes: 0
Views: 169
Reputation: 54249
Change your platform name to start with win
. We use that activate some windows-specific behavior. Also you don't have any configuration about which Vagrant box to use, which you need to add.
Upvotes: 1