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

Make root module path use puppetized module name #86

Merged
merged 1 commit into from
Jan 20, 2021

Conversation

michaeltlombardi
Copy link
Contributor

Prior to this commit the root_module_path in the should_to_resource method of the dsc_base_provider downcased the PowerShell module name; this would fail to discover the resources for modules like 7Zip and xHyper-V which are Puppetized as a7zip and xhyper_v respectively.

This commit uses the puppetize_name method to ensure the PowerShell module name is appropriately munged.

Prior to this commit the `root_module_path` in the `should_to_resource` method of the `dsc_base_provider` downcased the PowerShell module name; this would fail to discover the resources for modules like `7Zip` and `xHyper-V` which are Puppetized as `a7zip` and `xhyper_v` respectively.

This commit uses the `puppetize_name` method to ensure the PowerShell module name is appropriately munged.
@pmcmaw pmcmaw merged commit 0441a7c into main Jan 20, 2021
@michaeltlombardi michaeltlombardi deleted the maint/main/fix-root_module_path branch February 2, 2021 03:42
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