Class: Facts::Linux::Processors::Isa
- Inherits:
-
Object
- Object
- Facts::Linux::Processors::Isa
- Defined in:
- lib/facter/facts/linux/processors/isa.rb
Constant Summary collapse
- FACT_NAME =
'processors.isa'
- ALIASES =
'hardwareisa'
Instance Method Summary collapse
Instance Method Details
#call_the_resolver ⇒ Object
10 11 12 13 14 15 |
# File 'lib/facter/facts/linux/processors/isa.rb', line 10 def call_the_resolver fact_value = Facter::Resolvers::Uname.resolve(:processor) isa = get_isa(fact_value) [Facter::ResolvedFact.new(FACT_NAME, isa), Facter::ResolvedFact.new(ALIASES, isa, :legacy)] end |