Sha256: 1f932f3380db73285a7138af1d0afb585f13cd88d56988ef8366ec81251ddade

Contents?: true

Size: 304 Bytes

Versions: 2

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Debian
    class SystemUptimeMinutes
      FACT_NAME = 'system_uptime.minutes'

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

        ResolvedFact.new(FACT_NAME, fact_value)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facter-4.0.8.pre lib/facts/debian/system_uptime/system_uptime_minutes.rb
facter-4.0.7.pre lib/facts/debian/system_uptime/system_uptime_minutes.rb