- Server 2012 R2
- Windows Management Framework 5 - February Preview (The April preview and Production Preview from August break Test-Kitchen).
- A recent ChefDK (newer than 0.6.0
- This repository
- Before each of the following (if you are on separate machines)
Find-Module ChefConfSamples | Install-Module
chef shell-init powershell | invoke-expression
Change directories into the Website_Samples directory from the repository
. ./Examples/simple_webserver.ps1
SimpleWebserver -ConfigurationData $ConfigurationData
Start-DscConfiguration -path ./SimpleWebserver -verbose -wait
chef-client -z -o basic_website
chef-client -z -o 'basic_website::dsc_script'
chef-client -z -o 'basic_website::dsc_resource'