Sha256: c47acae2854db06e11de19fc5a6f962c69b2c01e6a18338c9cb192d433369c30

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

module Facts
  module El
    module SystemUptime
      class Seconds
        FACT_NAME = 'system_uptime.seconds'

        def call_the_resolver
          fact_value = Facter::Resolvers::Uptime.resolve(:seconds)
          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/seconds.rb