Sha256: 60c2caeb36ecbeea82a2fbd011bf4b22d0c16aecf8d93a89259b09a030c0dee8

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Sles
    module Os
      class Hardware
        FACT_NAME = 'os.hardware'

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

          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/sles/os/hardware.rb