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

(GH-105) Ensure canonicalized_cache check validates against namevar #107

Merged
merged 1 commit into from
Feb 11, 2021
Merged

(GH-105) Ensure canonicalized_cache check validates against namevar #107

merged 1 commit into from
Feb 11, 2021

Conversation

michaeltlombardi
Copy link
Contributor

Prior to this commit the safety check in the canonicalize method intended to prevent multiple executions to canonicalize the same resource compared the cached resources to the full resource being checked; this commit changes that check to only search for a hash containing the matching namevars.

This should prevent multiple runs and bugs where mandatory parameters are dropped during an RSAPI refresh event.

Prior to this commit the safety check in the canonicalize method intended to prevent
multiple executions to canonicalize the same resource compared the cached resources
to the *full* resource being checked; this commit changes that check to only search
for a hash containing the matching namevars.

This should prevent multiple runs and bugs where mandatory parameters are dropped
during an RSAPI refresh event.
@RandomNoun7 RandomNoun7 merged commit 89cef9b into puppetlabs:main Feb 11, 2021
@michaeltlombardi michaeltlombardi deleted the gh-105/main/check-canonical-cache-on-namevar branch February 12, 2021 00:04
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