[FACT-620] windows facter $::osfamily and $::kernel output inconsistent vs other platforms Created: 2014/07/08 Updated: 2015/11/16 Status: Project: Component/s: Affects Version/s: Fix Version/s: Open Facter None FACT 1.7.5 Type: Reporter: Resolution: Labels: Remaining Estimate: Time Spent: Original Estimate: Environment: Bug Geoff Williams Unresolved windows Not Specified Issue Links: Relates relates MODULESto 1203 Template: Scrum Team: None Priority: Assignee: Votes: Normal Eric Sorenson 0 Not Specified Not Specified windows concat doesn't work on windows - do w... Closed customfield_10700 true Windows Description Output from facter for $::osfamily and $::kernel is inconsistent vs output on other platforms. I get 'windows' instead of 'Windows' as the output. 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 (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, Comments Comment by Rob Reynolds [ 2014/10/10 ] Geoff Williams - this is not something we would fix without a major version bump. As in Facter 3. Peter Huene / Michael Smith would you want to weigh in here? Comment by Peter Huene [ 2014/10/10 ] Agreed that this is a breaking change (especially to one of the most commonly used facts), so if it is going to happen it must happen in Facter 3. Balancing on the knifes edge of "what's right and expected" and "don't break things". We'll have to do some research into how many modules would be impacted by changing the casing of the value. Comment by Rob Reynolds [ 2014/10/10 ] All the things that also work on Windows. Pretty sure it's going to have an effect everywhere. Liam Bennett FYI... Comment by Julien Pivotto [ 2015/11/16 ] Indeed, very bad idea to change this. Generated at Tue Feb 09 22:56:52 PST 2016 using JIRA 6.4.12#64027sha1:e3691cc1283c0f3cef6d65d3ea82d47743692b57.