https://github.com/puppetlabs/facter/blob/master/lib/facter/kernel.rb#L17