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

PR (628): (maint) Reset facter search path when resetting facts - adrienthebo

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Community
    • Labels:
    • Template:

      Description

      (maint) Reset facter search path when resetting facts

      Pull Request Description


      The previous implementation of Facter search paths was only additive and
      there was no way to remove Facter search paths once added. This is
      especially problematic when running the Puppet specs which wind up
      reloading Facter frequently and adding search paths, and can wind up
      adding thousands of meaningless paths. This commit resets the Facter
      search path on `Facter.reset` so that when facts are reset, the known
      search pats are reset as well.


      (webhooks-id: e9c1f7275fff1f2d782aa3c76bd0b7c4)

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            gepetto-bot gepetto-bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support