Sha256: c8708c01a337f5c8bc3c5775e46688681cb30e802c20b0e7aec28addec6001e4
Contents?: true
Size: 465 Bytes
Versions: 1
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true module Facts module Debian module Memory module Swap class Available FACT_NAME = 'memory.swap.available' def call_the_resolver fact_value = Facter::Resolvers::Linux::Memory.resolve(:swap_free) 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/swap/available.rb |