Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(IAC-1045) Add the DSC base Puppet provider to pwshlib #39

Merged
merged 2 commits into from
Aug 20, 2020
Merged

(IAC-1045) Add the DSC base Puppet provider to pwshlib #39

merged 2 commits into from
Aug 20, 2020

Conversation

michaeltlombardi
Copy link
Contributor

Prior to this commit the code for the base provider of the new
puppetized DSC modules was vendored into each module; this
meant that if the provider ever needs to be updated, every
prior release of the puppetized module would need to be built
again and pushed with an incremented number.

Moving the base provider to the pwshlib Puppet module (which
is this ruby library packaged as a Puppet module) means that
the provider can be updated separately from the PowerShell
builder code and does not require rebuilding puppetized modules,
only updating the reference pin for pwshlib.

This also makes testing the provider easier as it lives in a
ruby library now instead of in a PowerShell module.

Prior to this commit the code for the base provider of the new
puppetized DSC modules was vendored into each module; this
meant that if the provider ever needs to be updated, *every*
prior release of the puppetized module would need to be built
again and pushed with an incremented number.

Moving the base provider to the pwshlib Puppet module (which
is this ruby library packaged as a Puppet module) means that
the provider can be updated separately from the PowerShell
builder code and does not require rebuilding puppetized modules,
only updating the reference pin for pwshlib.

This also makes testing the provider easier as it lives in a
ruby library now instead of in a PowerShell module.
@michaeltlombardi
Copy link
Contributor Author

Updated with scaffolding and minimal buildout of the unit tests; as this functionality is thoroughly covered by acceptance tests in puppetlabs/PuppetDscBuilder, I think we're okay to merge with this pending suite to move forward with MODULES-1045, enabling customer feedback.

See puppetlabs/Puppet.Dsc#44 for the passing acceptance tests using this commit hash as the fixture for the tests.

@michaeltlombardi michaeltlombardi marked this pull request as ready for review August 19, 2020 22:28
@michaeltlombardi michaeltlombardi requested a review from a team as a code owner August 19, 2020 22:28
@michaeltlombardi michaeltlombardi changed the title (IAC-1045) Move DSC base provider to pwshlib (IAC-1045) Add the DSC base Puppet provider to pwshlib Aug 19, 2020
@sheenaajay sheenaajay merged commit 74b34ef into puppetlabs:master Aug 20, 2020
@michaeltlombardi michaeltlombardi deleted the ticket/master/iac-1045-dsc-provider branch February 2, 2021 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants