Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

Sample structure for testing DSC resources and configurations with Test-Kitchen

Notifications You must be signed in to change notification settings

smurawski/dsc-kitchen-project

Repository files navigation

Getting Started

  • Install ChefDK
  • Clone or download the repository

Windows

  • Edit the .kitchen.windows.yml to point the parent.vhd to a vhd of a Windows Server 2012 R2 image that you have.
  • Edit the .kitchen.windows.yml to replace the password with the proper one for your image.
  • From PowerShell, change directories into the cloned or downloaded copy of this repository
  • run
chef shell-init powershell | invoke-expression
gem install kitchen-dsc
gem install kitchen-pester
$env:KITCHEN_LOCAL_YAML='.kitchen.windows.yml'
kitchen test

Mac

  • From Terminal, change directories into the cloned or downloaded copy of this repository
  • run
eval (chef shell-init bash)
gem install kitchen-dsc
gem install kitchen-pester
$env:KITCHEN_LOCAL_YAML='.kitchen.mac.yml'
kitchen test

About

Sample structure for testing DSC resources and configurations with Test-Kitchen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published