# 

Facter.add(:rubysuffix) do
  confine :kernel => [ 'OpenBSD' ]
  setcode do
    version = Facter.value(:rubyversion)
    version.gsub!(/^(\d+)\.(\d+)\..*/, '\1\2')
  end
end


Add a fact called rubysuffix
Add a fact called rubysuffix
