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

Add ability to cache external facts

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: FACT 3.14.8, FACT 3.11.12
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Night's Watch
    • Story Points:
      3
    • Sprint:
      NW - 2020-02-05, NW - 2020-02-19
    • Release Notes:
      New Feature
    • Release Notes Summary:
      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

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

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support