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

Remove win32-dir code / references from Facter

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • FACT 2.4.6
    • FACT 2.5.0
    • Windows
    • None
    • No Action

    Description

      win32-dir uses the Shell APIs to find common directories on Windows. Find an alternative solution that doesn't require CSIDL

      The Puppet solution is a bit more complicated as it will need to produce the same api where Dir is adorned with new constants.

      Facter only uses COMMON_APPDATA and only in one spot.

      See https://gist.github.com/Iristyle/057c5560dbe64532fd1770a36e51f805 for more details on why this is important.

      A follow up to this should remove the actual gem from vendored Ruby.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ethan Ethan Brown
              Eric Delaney Eric Delaney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support