Path: | lib/facter/kernel.rb |
Last Update: | Thu May 02 00:13:28 +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: