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

(FACT-2786) Fix fact caching if fact is defined in multiple groups #2089

Merged
merged 1 commit into from
Sep 29, 2020

Conversation

florindragos
Copy link
Contributor

This PR also enables fact caching by only specifying individual facts in ttls configuration, rather than needing a cache group.

@florindragos florindragos added the bug Something isn't working label Sep 15, 2020
@florindragos florindragos requested review from a team September 15, 2020 09:19
@puppetcla
Copy link

CLA signed by all contributors.

@florindragos
Copy link
Contributor Author

Jenkins please test this on all

@florindragos
Copy link
Contributor Author

Jenkins please test this on all

@florindragos
Copy link
Contributor Author

Jenkins please test this on all

@florindragos
Copy link
Contributor Author

Jenkins please test this on all

@Filipovici-Andrei
Copy link
Contributor

Is there a unit test that checks if a fact contained in two groups is not cached twice?

@florindragos
Copy link
Contributor Author

Is there a unit test that checks if a fact contained in two groups is not cached twice?

too complex for a unit test. added acceptance test.

@Filipovici-Andrei Filipovici-Andrei merged commit d5a0dd6 into puppetlabs:main Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants