Sha256: 7ef9524a90730c1d871775e718359a7e320a23c2d488eb28ff71cdb19ec9c4ce

Contents?: true

Size: 391 Bytes

Versions: 63

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Linux
    module Memory
      module System
        class Capacity
          FACT_NAME = 'memory.system.capacity'

          def call_the_resolver
            fact_value = Facter::Resolvers::Linux::Memory.resolve(:capacity)
            Facter::ResolvedFact.new(FACT_NAME, fact_value)
          end
        end
      end
    end
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
facter-4.0.23 lib/facts/linux/memory/system/capacity.rb
facter-4.0.22 lib/facts/linux/memory/system/capacity.rb
facter-4.0.21 lib/facts/linux/memory/system/capacity.rb