Sha256: b2ccba8027dc751b5272df67bccf8a4f00990aac512ee0963f53da853b448ea4

Contents?: true

Size: 341 Bytes

Versions: 2

Compression:

Stored size: 341 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Aix
    module SystemUptime
      class Seconds
        FACT_NAME = 'system_uptime.seconds'

        def call_the_resolver
          fact_value = Facter::Resolvers::Uptime.resolve(:seconds)
          Facter::ResolvedFact.new(FACT_NAME, fact_value)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facter-4.0.11 lib/facts/aix/system_uptime/seconds.rb
facter-4.0.10.pre lib/facts/aix/system_uptime/seconds.rb