kernel.rb

Path: lib/facter/kernel.rb
Last Update: Tue Apr 10 20:03:28 -0400 2012

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]