Skip to content

Download and install windows updates via chef, even over winrm

Notifications You must be signed in to change notification settings

johnsmyth/wua_updater_cookbook

Repository files navigation

wua_updater

Description

Cookbook for installing windows updates. The existing wsus-client cookbok provides an lwrp for downloading and installing windows updates, however it doesnt work when launched via winrm (as from test-kitchen or chef-provisioning). This cookboook attempts to get around the built-in remote patching limitation by creating and executing a scheduled task to do the patching. The recipe copies a powershell script, creates a scheduled task to run it, launches the task, waits for it to complete, and reboots the machine if required.

This recipe is based around Matt Wrocks excellent blog post and Boxstarter code

This is a work in progess but please feel free to fork and contribute!

About

Download and install windows updates via chef, even over winrm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published