Sha256: e096877a53f2ae7f2b47872ea03a43932a6e652f20155979631672fe11a0cc12
Contents?: true
Size: 436 Bytes
Versions: 11
Compression:
Stored size: 436 Bytes
Contents
# frozen_string_literal: true module Facts module Sles module SystemUptime class Seconds FACT_NAME = 'system_uptime.seconds' ALIASES = 'uptime_seconds' def call_the_resolver fact_value = Facter::Resolvers::Uptime.resolve(:seconds) [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)] end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems