As a maintainer of the puppetlabs-pwshlib module, I want to have confidence that the changes to the DSC Base Provider work with Puppetized DSC modules.
With this testing we want to validate that:
We are able to read back DSC Resources with nested CIM instances from a system without error or warnings
We are able to set DSC Resources with nested CIM instances
Acceptance Criteria
[x] A new test file, spec/acceptance/dsc/cim_instances.rb is added to the repository and validates that it is able to use the dsc-accesscontroldsc Puppet module and the dsc_ntfsaccessentry resource to:
[x] Ensure valid nested CIM Instances can be passed to Invoke-DscResource without errors or warnings
[x] Ensure nested CIM instances can be read back from Invoke-DscResource without errors or warnings
[x] The acceptance-dsc job in the CI workflow is updated to:
[x] Install dsc-accesscontroldsc to the spec/fixtures/modules folder
Describe the Change You Would Like
As a maintainer of the puppetlabs-pwshlib module, I want to have confidence that the changes to the DSC Base Provider work with Puppetized DSC modules.
With this testing we want to validate that:
Acceptance Criteria
spec/acceptance/dsc/cim_instances.rb
is added to the repository and validates that it is able to use thedsc-accesscontroldsc
Puppet module and thedsc_ntfsaccessentry
resource to:Invoke-DscResource
without errors or warningsInvoke-DscResource
without errors or warningsacceptance-dsc
job in the CI workflow is updated to:dsc-accesscontroldsc
to thespec/fixtures/modules
folder