Details
Description
Output from facter for $::osfamily, os.name, and $::kernel is inconsistent vs output on other platforms.
I get 'windows' instead of 'Windows' as the output.
os.family : "cisco-wrlinux"
os.family : "windows"
os.name : "ios_xr"
os.name : "nexus"
os.name : "windows"
kernel : "windows"
Other platforms give outputs such as 'Solaris' or 'RedHat' because programmers and customers picking up this fact will naturally expect its output to be consistent with other platforms.
Today this has led to bug MODULES-1203 (PR merged) which broke the concat module for our windows users - I'm concerned that we will see this problem come up time after time and also that it will impact our customers - eg if they use regexps. Would be great if this could be addressed to improve consistency
Cheers,
Attachments
Issue Links
- is duplicated by
-
FACT-1620 Why is the "windows" name in facter lower cased instead of camel cased like all the other OS'
-
- Closed
-
- relates to
-
FACT-728 OS release values not correctly reported for Windows kernel versions 6.3.x or 6.4.x
-
- Closed
-
-
FACT-1492 FACT [OS][RELEASE][MAJOR] returns FULL version instead of MAJOR version on WIndows Server 2016
-
- Closed
-
-
FACT-1573 Verify, reconcile, and document Windows OS version facts
-
- Closed
-
-
MODULES-1203 concat doesn't work on windows - do we fix facter or concat?
-
- Closed
-