Sha256: 810009954942a77defeb37f7cbb454e40c935a0c7145035bed8670861301f82a

Contents?: true

Size: 342 Bytes

Versions: 1

Compression:

Stored size: 342 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Debian
    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

1 entries across 1 versions & 1 rubygems

Version Path
facter-4.0.9.pre lib/facts/debian/system_uptime/uptime.rb