Details
-
Task
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Night's Watch
-
3
-
NW - 2020-02-05, NW - 2020-02-19
-
New Feature
-
allow user to cache external facts using external facts filename as cache group
Description
- list-cache-groups should list the external facts files
- external resolvers should provide a list of resolved facts, to be used in current caching mechanism (eg. instead of directly calling facts.add_external_fact, but a proxy resolver method that will cache the facts names, etc.)
- cache module should handle both internal and external resolvers (eg. instead of relying on directly receiving name()/names() instead from resolver they could be received as arguments or implement name/names in external resolvers, etc.)
- if same external facts file is present in more than one place, throw a warning and use only one of them, because filename is used as key for caching and must be unique
Attachments
Issue Links
- clones
-
FACT-1472 Ensure the collection has enough information about external facts to cache them.
-
- Resolved
-