Windows Cookbook testing - chef-boneyard/chef-summit-2014 GitHub Wiki

Windows Cookbook testing

Friday, Greenwood, 11:00

Convener

Participants

Summary of Discussions

  • Assuming test-kitchen and winrm is solved
  • Sever spec used for tests
  • Shell out to powershell
  • How to get the machine up and running quickly?
  • Sysprepped images
  • WinRM takes awhile to show up on older SKUs
  • Windows Server Core (NO GUI) server up a little bit faster.
  • Use ChefSpec
  • Trouble running windows chef spec on MAC / Linux
  • WINRM on Server 2012 is an automatic start service
  • Pester - Unit test framework for native powershell. Use as a Busser in Test Kitchen
  • Issues with Progress bar in Powershell with Vagrant
  • PASH from Mono - Implement PS Remoting - Not currently
  • WINRM Encryption
    • Have to use Basic and unencrypted
    • Encryption at Session layer, Payload
  • Strategy for executing chef-client - SSH, WinRM, Service
  • Running as System or User
  • CI testing because of long vagrant up takes awhile
  • Packer is 4-5 hours with Windows
  • Once WinRM support in Test-Kitchen Opscode base box would be nice
  • box starter
  • PR for Windows - When? Don't want to break Test Kitchen
  • See about adding a Chef Windows IRC Channel
  • Pain with Chef Development on Windows

What will we do now? What needs to happen next?