kernel.rb

Path: lib/facter/kernel.rb
Last Update: Wed Apr 17 06:14:42 +0000 2013

Fact: kernel

Purpose: Returns the operating system‘s name.

Resolution:

  Uses Ruby's rbconfig to find host_os, if that is a Windows derivative, the
  returns 'windows', otherwise returns "uname -s" verbatim.

Caveats:

Required files

facter/util/config  

[Validate]