Sha256: bf1c359cf99dede2c2e037b7214670562b050b457a8f85fc1a7061f8c8e51af6
Contents?: true
Size: 465 Bytes
Versions: 1
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true module Facts module Sles module Memory module System class Available FACT_NAME = 'memory.system.available' 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) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facter-4.0.9.pre | lib/facts/sles/memory/system/available.rb |