Sha256: 133e455e8b6eed90904276f32de8f121a3735dacf924ebe47ebf7eda1cf49fad

Contents?: true

Size: 337 Bytes

Versions: 1

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

module Facts
  module El
    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/el/system_uptime/uptime.rb