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

Remove win32-dir code / references from Facter

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: FACT 2.4.6
    • Fix Version/s: FACT 2.5.0
    • Component/s: Windows
    • Labels:
      None
    • Template:
    • Team:
      Agent
    • Story Points:
      2
    • Sprint:
      Agent 2017-05-31
    • QA Risk Assessment:
      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

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

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support