[FEATURE REQUEST] Split grains, pillar, and mine caches #67284
nf-brentsaner
started this conversation in
Feature Requests
Replies: 2 comments
-
|
so pillar cache does have it's own setting. and it isn't enabled by default. see https://docs.saltproject.io/en/latest/ref/configuration/master.html#pillar-cache-options |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Oh! Thanks, I missed that! I was checking the stock config file itself from 3006 and didn't see it commented there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Currently,
minion_data_cachevia master configs only supports a boolean. There is no way to explicitly enable/disable the grain cache, pillar cache, and/or mine cache.Further, if one wishes to disable caching of these, mines are rendered completely nonfunctional. (Which I guess makes sense/I understand why, now, but the configuration comment is nowhere near clear about this and if one wishes to disable caching of grains or the pillar, they must also completely sacrifice mine functionality.)
Describe the solution you'd like
Configuration directives to selectively enable/disable caches per grains/pillar/mine. (And, for bonus points, the ability to selectively do this per minion targeting as well.)
Describe alternatives you've considered
(There are none)
Additional context
I believe they already cache to separate files (
<master cache>/minions/<minion id>/{data,pillar,mine}.p)?. If so, this should have minimal impact.Please Note
If this feature request would be considered a substantial change or addition, this should go through a SEP process here https://github.com/saltstack/salt-enhancement-proposals, instead of a feature request.
Beta Was this translation helpful? Give feedback.
All reactions