Last Modified
2015-08-25 09:57:00 -0400
Requires
  • facter/util/posix
  • 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: