Sha256: 028a1309ea4a0cbaf405811645d23e654dc5c707a230fb27242117209a074bf3
Contents?: true
Size: 551 Bytes
Versions: 6
Compression:
Stored size: 551 Bytes
Contents
# frozen_string_literal: true module Facts module Sles module Memory module System class AvailableBytes FACT_NAME = 'memory.system.available_bytes' ALIASES = 'memoryfree_mb' def call_the_resolver fact_value = Facter::Resolvers::Linux::Memory.resolve(:memfree) [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, Facter::FactsUtils::BytesConverter.to_mb(fact_value), :legacy)] end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems