shorewall_major_version.rb 155 Bytes
Newer Older
1
Facter.add("shorewall_major_version") do
2
  confine :shorewall_version => /\d/
3
  setcode do
4
    Facter.value(:shorewall_version).split('.').first
5 6
  end
end