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

(Maint) Fix ensurability in the dsc base provider #69

Merged
merged 3 commits into from
Nov 25, 2020
Merged

(Maint) Fix ensurability in the dsc base provider #69

merged 3 commits into from
Nov 25, 2020

Conversation

michaeltlombardi
Copy link
Contributor

Prior to this commit the dsc base provider erroneously only tried to compare ensurable states on resources which are NOT ensurable instead of only comparing them on resources which ARE ensurable.

This commit corrects that error and adds special handling in invoke_get_method for trimming empty properties when returning the representation of an absent resource on the system in order to prevent flapping during Puppet runs.

This should be rebased and merged after #68 and a 0.6.1 release immediately prepped and cut.

Prior to this commit the dsc base provider erroneously only
tried to compare ensurable states on resources which are NOT
ensurable instead of only comparing them on resources which
ARE ensurable.

This commit corrects that error and adds special handling
in invoke_get_method for trimming empty properties when
returning the representation of an absent resource on the
system in order to prevent flapping during Puppet runs.
@pmcmaw pmcmaw merged commit f85e881 into puppetlabs:main Nov 25, 2020
@michaeltlombardi michaeltlombardi deleted the maint/main/fix-ensure branch February 2, 2021 03:40
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