Sha256: 08a33aa4c61ad1152d7dea4f00fdc035e5935769e0cfe8d49f7347b2844d56c0
Contents?: true
Size: 356 Bytes
Versions: 2
Compression:
Stored size: 356 Bytes
Contents
# frozen_string_literal: true module Facter module Sles class MemorySystemTotal FACT_NAME = 'memory.system.total' def call_the_resolver fact_value = Resolvers::Linux::Memory.resolve(:total) fact_value = BytesToHumanReadable.convert(fact_value) ResolvedFact.new(FACT_NAME, fact_value) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facter-4.0.8.pre | lib/facts/sles/memory/system/total.rb |
facter-4.0.7.pre | lib/facts/sles/memory/system/total.rb |