PowerShell / DSC

This repo is for the DSC v3 project
MIT License
133 stars 22 forks source link

Implement Generic Restart Resource(s) #450

Open tgauth opened 3 weeks ago

tgauth commented 3 weeks ago

Summary of the new feature / enhancement

So if a process, service, or computer requires a reboot after Set, the resource running Set will output a property as true. Later, a "restart" resource will reference that output and run Test to evaluate if any upstream Sets needed a restart. If true, Set would handle the restart and could have properties to provide additional controls. Related to #50.

Proposed technical implementation details (optional)

Microsoft.DSC/RestartProcess, Microsoft.DSC/RestartService, Microsoft.DSC/RestartMachine