Sha256: 86239d2abdf9000b102d8c65e5c3ddb49231bb91e224c28bc21afd4c2de827ee

Contents?: true

Size: 386 Bytes

Versions: 2

Compression:

Stored size: 386 Bytes

Contents

# frozen_string_literal: true

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

      def call_the_resolver
        fact_value = Resolvers::HardwareArchitecture.resolve(:architecture)

        [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/windows/os/architecture.rb
facter-4.0.7.pre lib/facts/windows/os/architecture.rb