Sha256: b72c6f6e6a47ebcb747a2ea1b2a302d52588411251305fec5ef3a1dcb3ed318e

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

# frozen_string_literal: true

module Facts
  module El
    module SystemUptime
      class Days
        FACT_NAME = 'system_uptime.days'

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