Sha256: 6ddfc2d0354a4ff71ea2b278c0943abb0bff9ea2f4c30abd855bf7ba103fa457
Contents?: true
Size: 450 Bytes
Versions: 2
Compression:
Stored size: 450 Bytes
Contents
# frozen_string_literal: true module Facter module Windows class MemorySystemAvailable FACT_NAME = 'memory.system.available' ALIASES = 'memoryfree' def call_the_resolver fact_value = Resolvers::Memory.resolve(:available_bytes) fact_value = BytesToHumanReadable.convert(fact_value) [ResolvedFact.new(FACT_NAME, fact_value), ResolvedFact.new(ALIASES, fact_value, :legacy)] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facter-4.0.8.pre | lib/facts/windows/memory/system/available.rb |
facter-4.0.7.pre | lib/facts/windows/memory/system/available.rb |