Sha256: 7226ede074d0d5cedf8b9241a4c1f71adae319228468bfe2630a6182864a0b43

Contents?: true

Size: 301 Bytes

Versions: 2

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true

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

      def call_the_resolver
        fact_value = Facter::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/debian/system_uptime/system_uptime_uptime.rb
facter-4.0.7.pre lib/facts/debian/system_uptime/system_uptime_uptime.rb