PowerShell7/demos/dsc.ps1
joeyaiello 0c38f29d68 add comment-level demos
We've signed off on these demos conceptually.
The next step is for them to be implemented
and all blocking engineering work needs to be
enumerated and solved.
2016-07-12 16:01:40 -07:00

11 lines
511 B
PowerShell

# DSC MOF Compilation
# DSC Configuration() script that:
# Defines base configuration users, groups, settings
# Uses PS function to set package configuration (ensure=Present) for an array of packages
# Probes for the existence of a package (Apache or MySQL) and conditionally configures the workload. I.e., if Apache is installed, configure Apache settings
# Demo execution:
# Show the .ps1
# Run the .ps1 to generate a MOF
# Apply the MOF locally with Start-DSCConfiguration
# Show the newly configured state