Sha256: 33a02effe5ad404864f1a28ea92b12841d01c17ca3e2f404e3a6dc9774eeeb29

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Debian
    module SystemUptime
      class Minutes
        FACT_NAME = 'system_uptime.minutes'

        def call_the_resolver
          fact_value = Facter::Resolvers::Uptime.resolve(:minutes)

          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/minutes.rb