dsccommunity / DscWorkshop

Blueprint for a full featured DSC project for Push / Pull with or without CI/CD
MIT License
203 stars 162 forks source link

Added task `TestReferenceRsop` for doing a reference RSOP test #155

Closed raandree closed 1 year ago

raandree commented 1 year ago

Pull Request

Pull Request (PR) description

Changes on the datum.yml file are not immediately visible and mistakes can have a huge impact on the result. Doing changes to the design of configuration data can have unexpected results as well. To tackle this, the task TestReferenceRsop compares the RSOP of a reference node with reference RSOP. If there is no node with the name ReferenceConfiguration*, the task is skipped.

To use the task, simply create a reference node named for example ReferenceConfigurationFileServer. Running the build creates an RSOP file. Copy this RSOP file to the folder .\source\TestRsopReferences\. If you don't change node ReferenceConfigurationFileServer, it is expected that every newly created RSOP file is exactly the same as the one stored in .\source\TestRsopReferences\. If this is not the case, something could be wrong.

Task list


This change is Reviewable