Sample test kitchen project to demonstrate using salt as a provisioner on Windows
I built this example with these versions running under macOS 10.11.6, but other versions and host OSes may work.
- Vagrant 1.8.1
- VirtualBox 5.0.20
- Ruby 2.2.3
This project uses a pre-built Windows 2012r2 box hosted by my company. It's conceivable this sample would work with another box but we pre-bake chocolatey, chef-client, busser, and serverspec to avoid needing to install them each time.
- Install the requirements
- Clone this repo
cd
into itbundle
to install the gemskitchen test
The last step will take awhile the first time as the box is downloaded and added to your local cache.
If you want to login to Windows and take a look, install Microsoft Remote Desktop and run this from within the repo:
kitchen verify
kitchen login
- Authenticate as "vagrant" with the password "vagrant"
- Log out and run
kitchen destroy
when you're all done