PowerShell / DSC

This repo is for the DSC v3 project
MIT License
195 stars 24 forks source link

Support rollback for `config set` #278

Open SteveL-MSFT opened 9 months ago

SteveL-MSFT commented 9 months ago

Summary of the new feature / enhancement

Prior to set the current state via get is stored. If set fails, dsc can attempt a rollback to previous. It may make sense to have a --no-rollback switch for developers.

Proposed technical implementation details (optional)

If an application wants multiple levels of rollback, it's up to that application to store history. If resources in the rollback state support _clobber, then those should be explicitly set to true.