| Starting with macOS 11, Apple has more clearly started using major.minor.patch for OS versions. FACT-2914 changes how os.macosx.version.major is reported, but instead essentially splitting on the first . and concatenating the second set, it would be more correct to split into 3 and report major/minor/patch. Current:
❯ facter os.macosx.version |
{ |
full => "11.2.2", |
major => "11", |
minor => "2.2", |
}
|
Proposed:
❯ facter os.macosx.version |
{ |
full => "11.2.2", |
major => "11", |
minor => "2", |
patch => "2" |
}
|
See Apple's API at https://developer.apple.com/documentation/foundation/nsoperatingsystemversion?language=objc |