Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-2307

Add ability to cache external facts

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • FACT 3.14.8, FACT 3.11.12
    • None
    • 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

          Activity

            People

              ciprian.badescu Ciprian Badescu
              eric.sorenson Eric Sorenson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support