Class: Facts::Aix::Processors::Count
- Inherits:
-
Object
- Object
- Facts::Aix::Processors::Count
- Defined in:
- lib/facter/facts/aix/processors/count.rb
Constant Summary collapse
- FACT_NAME =
'processors.count'
- ALIASES =
'processorcount'
Instance Method Summary collapse
Instance Method Details
#call_the_resolver ⇒ Object
10 11 12 13 |
# File 'lib/facter/facts/aix/processors/count.rb', line 10 def call_the_resolver fact_value = Facter::Resolvers::Aix::Processors.resolve(:logical_count) [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)] end |