Sha256: e1370c35a387c6cd6f3f3e7de340a1bd95e237b580f10641cbd18d98070af005

Contents?: true

Size: 335 Bytes

Versions: 2

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Aix
    module SystemUptime
      class Hours
        FACT_NAME = 'system_uptime.hours'

        def call_the_resolver
          fact_value = Facter::Resolvers::Uptime.resolve(:hours)
          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/hours.rb
facter-4.0.10.pre lib/facts/aix/system_uptime/hours.rb