Sha256: faf451282d8b8a4ddb61b83d84ec97addee647d90dee584882de87f0fff159c4

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

module Facter
  module El
    class OsHardware
      FACT_NAME = 'os.hardware'

      def call_the_resolver
        fact_value = Resolvers::Uname.resolve(:machine)

        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/el/os/hardware.rb
facter-4.0.7.pre lib/facts/el/os/hardware.rb