Details
-
Task
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
FACT 2.4.6
-
None
-
Agent
-
2
-
Agent 2017-05-31
-
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.