Writing DSC Resources for Azure Policy Guest Configuration - For...
summary
Shows how to author class-based DSC resources, package them as a guest configuration zip (MOF + modules), and publish parameters for Azure Policy; uses Module Builder and automation to assemble modules and the GuestConfiguration module’s New-GuestConfigurationPackage command to make the package. Tests run on Ubuntu VMs with Test Kitchen + kitchen-azurerm + Pester, installing PowerShell, running get/compliance then remediation, and the verification shows remediation succeeds. Reports include explicit reason codes for noncompliance.
AI-written summary · about
chapters (15)
- 0:00Intro
- 9:25Pipeline Overview
- 13:07Module Builder
- 13:25Sources
- 15:17Methods vs Functions
- 17:57Why
- 21:17Guest Configuration Module
- 23:07Guest Configuration Package
- 25:07Package Source
- 28:57Module Source
- 29:57Unit Test
- 31:22Kitchen
- 39:47Sampler
- 41:17What is Kitchen
- 42:27Open Source NX Tools
related talks
50mMicrosoft Azure Policy Guest Configuration
01h 39mDefine, Develop and Deploy DSC Resources
01h 18mDSC vs. "The Others" - A Song of Configuration Management
48mAn Opinionated DSC Solution, with Tooling
01h 45mDeploy Infrastructure As A Service with Azure Resource Manager Templates
45mDesired State Configuration (DSC) Version 3
44mDesired State Configuration v3
51mDSC v3: Evolving Declarative Configuration for Modern Systems
