-
Notifications
You must be signed in to change notification settings - Fork 12
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
Adding case insensitive enum values #230
Conversation
@nickgw Epic work thank you. I will get this reviewed tomorrow. |
@chelnak thanks a bunch. Let me know if I should look into updating this with upped version numbers, changelog, etc (or if puppetlabs has any best practices around that for the repo). |
Hey @chelnak, you get a chance to review this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that the matches on Puppets Enum type are case sensitive, I think what you have proposed is fine.
The change will hopefully help out a few consumers of Puppet.Dsc.
I can cut a release for the PowerShell module as soon as tomorrow but time to re-puppetize all existing modules is undefined for now.
We can look in to individual cases ad-hoc though.
@nickgw I will merge as soon as CI finishes. |
@chelank, awesome, thank you! This is the list of Dsc resources I'd love to have hit: Thanks again! |
Hey @nickgw, happy Friday! We've just cut 1.0.4 that contains this change 🥳 https://github.com/puppetlabs/Puppet.Dsc/releases/tag/1.0.4 Thanks again for your contribution - we will look at re-publishing modules next week. |
This change more closely mimics the functionality of the original
dsc
module, allowing enum values to be passed either as specified in the schema or their lowercase variants.Resolves Issue #216