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

Block external facts

    XMLWordPrintable

    Details

    • Template:
    • Team:
      Night's Watch
    • Sub-team:
    • Story Points:
      3
    • Sprint:
      ghost-29.07, ghost-5.08
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      Hide
      Allow users to block external facts. The blocking of external facts is a little different from the blocking of core and custom facts because we need to specify the name of the file from which external facts are loaded. Basically we can block files, not facts.

      In order to block external facts, we need to specify the name of the file in the `blocklist` in `facter.conf`
      Show
      Allow users to block external facts. The blocking of external facts is a little different from the blocking of core and custom facts because we need to specify the name of the file from which external facts are loaded. Basically we can block files, not facts. In order to block external facts, we need to specify the name of the file in the `blocklist` in `facter.conf`
    • QA Risk Assessment:
      Needs Assessment

      Description

      Currently we cannot block external facts. A mechanism similar to the one for internal facts does not work, because we already resolved the external facts at this stage, negating any performance effect of blocking.

      We should implement blocking in directory_loader. Before calling the cache manager, we could block the facts (in this case they are represented by file names)

      Add integration test.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              florin.dragos Florin Dragos
              Reporter:
              bogdan.irimie Bogdan Irimie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support