Sha256: 81ceb3b077094de949e2cbf76e1c6e61031cd91e3b03d2ae438a08f7154827c1

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Sles
    class OsArchitecture
      FACT_NAME = 'os.architecture'
      ALIASES = 'architecture'

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

        [ResolvedFact.new(FACT_NAME, fact_value), ResolvedFact.new(ALIASES, fact_value, :legacy)]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facter-4.0.8.pre lib/facts/sles/os/architecture.rb
facter-4.0.7.pre lib/facts/sles/os/architecture.rb