lib/facts/debian/memory/system/available.rb in facter-4.0.9.pre vs lib/facts/debian/memory/system/available.rb in facter-4.0.10.pre

- old
+ new

@@ -4,14 +4,16 @@ module Debian module Memory module System class Available FACT_NAME = 'memory.system.available' + ALIASES = 'memoryfree' def call_the_resolver fact_value = Facter::Resolvers::Linux::Memory.resolve(:memfree) fact_value = Facter::BytesToHumanReadable.convert(fact_value) - Facter::ResolvedFact.new(FACT_NAME, fact_value) + + [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)] end end end end end