Path: | lib/facter/kernelversion.rb |
Last Update: | Sat Feb 23 07:17:42 +0000 2019 |
Fact: kernelversion
Purpose: Return the operating system‘s kernel version.
Resolution:
On Solaris and SunOS based machines, returns the output of `uname -v`. Otherwise returns the kernerlversion fact up to the first `-`. This may be the entire kernelversion fact in many cases.
Caveats: