Commit e6a2b002 authored by mh's avatar mh Committed by Matt Taggart

mory rubyism

parent ea4721ad
Facter.add("shorewall_major_version") do
setcode do
Facter::Util::Resolution.exec('shorewall version').split('.')[0] || nil
Facter::Util::Resolution.exec('shorewall version').split('.').first || nil
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment