Sha256: be68b8f1783dc5439bd80c61f3923370c9e37f811672228f70198a78a94d15aa

Contents?: true

Size: 304 Bytes

Versions: 2

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

module Facter
  module El
    class MemorySwapTotalBytes
      FACT_NAME = 'memory.swap.total_bytes'

      def call_the_resolver
        fact_value = Resolvers::Linux::Memory.resolve(:swap_total)
        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/el/memory/swap/total_bytes.rb
facter-4.0.7.pre lib/facts/el/memory/swap/total_bytes.rb