lib/facter/facts/ubuntu/lsbdistrelease.rb in facter-4.0.51 vs lib/facter/facts/ubuntu/lsbdistrelease.rb in facter-4.0.52

- old
+ new

@@ -13,11 +13,11 @@ return Facter::ResolvedFact.new(FACT_NAME, nil, :legacy) unless fact_value version = fact_value.split('.') [Facter::ResolvedFact.new(FACT_NAME, fact_value, :legacy), - Facter::ResolvedFact.new(ALIASES[0], version[0], :legacy), - Facter::ResolvedFact.new(ALIASES[1], version[1], :legacy)] + Facter::ResolvedFact.new(ALIASES[0], "#{version[0]}.#{version[1]}", :legacy), + Facter::ResolvedFact.new(ALIASES[1], version[2], :legacy)] end end end end