From some discussion out of https://github.com/PowerShell/DSC/issues/50, it may make sense to have a RebootRequired resource that has knowledge of registry/file/api queries to indicate if (Windows in this case) the OS has a pending reboot. This resource would be used in an Assertion so that config is not applied until the system no longer needs a reboot.
Summary of the new feature / enhancement
From some discussion out of https://github.com/PowerShell/DSC/issues/50, it may make sense to have a
RebootRequired
resource that has knowledge of registry/file/api queries to indicate if (Windows in this case) the OS has a pending reboot. This resource would be used in anAssertion
so that config is not applied until the system no longer needs a reboot.Proposed technical implementation details (optional)
No response