Sha256: 50a1c07ed769f96915b9e8a695ce41474ef349ee28c9df929dde297e2c7f7022

Contents?: true

Size: 315 Bytes

Versions: 2

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Sles
    class MemorySystemAvailableBytes
      FACT_NAME = 'memory.system.available_bytes'

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