Sha256: 063e680f4f7fbf37ad5c2c1ad348fb1d5a15e5eae1688df7701ae4ae15df883f

Contents?: true

Size: 125 Bytes

Versions: 5

Compression:

Stored size: 125 Bytes

Contents

Facter.add("kernelmajversion") do
    setcode do
        Facter.value(:kernelversion).split('.')[0..1].join('.')
    end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
facter-1.5.9 lib/facter/kernelmajversion.rb
facter-1.5.8 lib/facter/kernelmajversion.rb
facter-1.5.7 lib/facter/kernelmajversion.rb
facter-1.5.5 lib/facter/kernelmajversion.rb
facter-1.5.6 lib/facter/kernelmajversion.rb