This repo demonstrates converging a Windows Nano Server node using Test-Kitchen's DSC driver. The Gemfile
pulls in soon to be released winrm-v2 branches that invoke remote Powershell using the PSRP protocol allowing it to work with nano.
The .kitchen.yml
file includes a TP5 Windows Nano vagrant box with the DSC package installed.
- You must have a modern ruby environment installed with bundler. If you have the Chef-DK installed, you have that.
- Virtualbox (tested with 5.0.24 on Ubuntu 14.04 and 5.0.10 on Windows 10) or Hyper-V
- Vagrant (tested with 1.8.4)
bundle install
bundle exec kitchen verify
If you are using Hyper-V, the very first time the Nano VM starts up, it will blue screen. It may do so several times. Keep rebooting and eventually it should come up and never blue screen again.