Sha256: e9ee6cfc344ee4dd5948ca820838626b6919356af201bf44aff3b006fc4bbd57

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Sles
    module Memory
      module System
        class AvailableBytes
          FACT_NAME = 'memory.system.available_bytes'

          def call_the_resolver
            fact_value = Facter::Resolvers::Linux::Memory.resolve(:memfree)
            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/sles/memory/system/available_bytes.rb