kernelrelease.rb

Path: lib/facter/kernelrelease.rb
Last Update: Sat Feb 23 07:17:42 +0000 2019

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:

Required files

facter/util/posix   facter/util/windows  

[Validate]