Sha256: 9269478b48022dddce105d3869ccd0ea816dfec1cce1792bb7f792c4cafd5544
Contents?: true
Size: 216 Bytes
Versions: 3
Compression:
Stored size: 216 Bytes
Contents
Facter.add(:kernel) do setcode do require 'rbconfig' case Config::CONFIG['host_os'] when /mswin/i; 'windows' else Facter::Util::Resolution.exec("uname -s") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
facter-1.5.7 | lib/facter/kernel.rb |
facter-1.5.5 | lib/facter/kernel.rb |
facter-1.5.6 | lib/facter/kernel.rb |