Sha256: 69b5f3a09e5b2f39f063cf1d4a147403876c2b074425f3feb77b455cef8b33b5

Contents?: true

Size: 288 Bytes

Versions: 2

Compression:

Stored size: 288 Bytes

Contents

# frozen_string_literal: true

module Facter
  module El
    class SystemUptimeUptime
      FACT_NAME = 'system_uptime.uptime'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facter-4.0.8.pre lib/facts/el/system_uptime/uptime.rb
facter-4.0.7.pre lib/facts/el/system_uptime/uptime.rb