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

'--list-cache-groups' does not contain external fact files

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: FACT 4.0.37
    • Component/s: None
    • Labels:
    • Template:
    • Acceptance Criteria:
      Hide

      various external facts file should be visible as caching groups

      Show
      various external facts file should be visible as caching groups
    • Team:
      Night's Watch
    • Sub-team:
    • Story Points:
      3
    • Sprint:
      ghost-5.08, ghost-12.08, ghost-19
    • Release Notes Summary:
      This task was extended to include --list-block-groups and --list-cache-groups
    • QA Risk Assessment:
      Needs Assessment

      Description

      When using the command line option `--list-cache-groups` and having external-dir set and containing external facts, Facter should list the external facts files.

      as per acceptance tests: https://github.com/puppetlabs/facter/blob/master/acceptance/tests/options/list_cache_groups.rb#L29

      Also, groups configured in `facter.conf` are not displayed.
      e.g.

      ...
      fact-groups : {
        cached-custom-facts : ["my_custom_fact"],
      }
      ...
      

       

      Investigate if we can cache external fact (on Facter 3) by providing external facts file name in ttls files from facter.conf

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastian.miclea Sebastian Miclea
              Reporter:
              gheorghe.popescu Gheorghe Popescu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support