Sha256: d668c594e3eca9a57a2106744a161d79b00851e7a77c2c44633f4b72a610ee32
Contents?: true
Size: 426 Bytes
Versions: 74
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true module Facts module Macosx module SystemUptime class Uptime FACT_NAME = 'system_uptime.uptime' ALIASES = 'uptime' def call_the_resolver fact_value = Facter::Resolvers::Uptime.resolve(:uptime) [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)] end end end end end
Version data entries
74 entries across 74 versions & 1 rubygems