Sha256: d75a0ed8643ed88848d354eb090eb58f66d783a0913092123b55837d4d5fc0bf
Contents?: true
Size: 429 Bytes
Versions: 13
Compression:
Stored size: 429 Bytes
Contents
# frozen_string_literal: true module Facts module Linux module SystemUptime class Hours FACT_NAME = 'system_uptime.hours' ALIASES = 'uptime_hours' def call_the_resolver fact_value = Facter::Resolvers::Uptime.resolve(:hours) [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)] end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems