Last Modified
2013-07-01 15:39:05 +0000
Requires
  • facter/util/wmi

Description

Fact: kernelrelease

Purpose: Return the operating system's release number.

Resolution:

On AIX returns the output from the "oslevel -s" system command.
On Windows based systems, uses the win32ole gem to query Windows Management
for the 'Win32_OperatingSystem' value.
Otherwise uses the output of "uname -r" system command.

Caveats: