Currently only caching of core facts is supported. Since this is done based on resolvers, the internal process for caching external facts might look quite different. This ticket is intended to track the investigation of what work would be needed to allow the caching of external facts by name, analogous to the UX of caching by group name for core facts. That work also includes updating the command line option which lists cachable facts to include external facts.
Currently only* 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 core directly calling facts is supported. Since this is done based on resolversadd_external_fact, but a proxy resolver method that will cache the facts names, etc.) * cache module should handle both internal process for caching and external facts might look quite different resolvers (eg. This ticket is intended to track the investigation instead of what work would relying on directly receiving name()/names() instead from resolver they could be needed to allow the caching of external facts by received as arguments *or* implement name/names in external resolvers, analogous to the UX of caching by group name for core facts etc. That work also includes updating the command line option which lists cachable facts to include) * 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