Sha256: 27ca5109fe2d724bc9a85022810a90832b9ea2cab8686239b331c9fa0c08a79f

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Aix
    module SystemUptime
      class Uptime
        FACT_NAME = 'system_uptime.uptime'

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