Sha256: a58e36f59e043f4f122103346ffae7eb7351f52fc793f453547f51c72248d30d
Contents?: true
Size: 357 Bytes
Versions: 2
Compression:
Stored size: 357 Bytes
Contents
# frozen_string_literal: true module Facter module Sles class MemorySwapTotal FACT_NAME = 'memory.swap.total' def call_the_resolver fact_value = Resolvers::Linux::Memory.resolve(:swap_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/swap/total.rb |
facter-4.0.7.pre | lib/facts/sles/memory/swap/total.rb |