Sha256: 45cd93a163b8af964c4f47f4c3cf0c21b11f199aec5582b79477c3849f9aa505
Contents?: true
Size: 529 Bytes
Versions: 15
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true module Facts module Aix module Memory module System class Used FACT_NAME = 'memory.system.used' def call_the_resolver fact_value = Facter::Resolvers::Aix::Memory.resolve(:system) if fact_value fact_value = Facter::FactsUtils::UnitConverter.bytes_to_human_readable(fact_value[:used_bytes]) end Facter::ResolvedFact.new(FACT_NAME, fact_value) end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems