Closed
Description
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.
Acceptance Criteria
- A new test file,
spec/acceptance/dsc/basic.rb
is added to the repository and validates:- That it is able to use the
dsc-powershellget
Puppet module to set the default repository,PSGallery
, to have an installation policy ofTrusted
. - That it is able to use the
dsc-powershellget
Puppet module to install a PowerShell module - That it is able to use the
dsc-powershellget
Puppet module to uninstall a PowerShell module - That it behaves as expected with a
PSDscRunAsCredential
:- When the credential is valid, no errors are raised
- When the credential is invalid, the expected error is raised
- That it is able to use the
- A new job for the CI workflow is added called
acceptance-dsc
which:- Runs against
windows-2016
andwindows-latest
- Runs against ruby
2.5
and Puppet 6 - Runs against ruby
2.7
and Puppet 7 - Installs
dsc-powershellget
to thespec/fixtures/modules
folder - executes rspec against
spec/acceptance/dsc
- Runs against