kernel.rb

Path: lib/facter/kernel.rb
Last Update: Mon May 20 13:25:11 +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]