Sha256: fba9a7a6b3430b74abe8f3acd316936c184acc6f8cde150234939a65f280fbec
Contents?: true
Size: 457 Bytes
Versions: 1
Compression:
Stored size: 457 Bytes
Contents
# frozen_string_literal: true module Facts module Debian module Memory module System class Total FACT_NAME = 'memory.system.total' def call_the_resolver fact_value = Facter::Resolvers::Linux::Memory.resolve(:total) 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/debian/memory/system/total.rb |