Anons79 Mini Shell

Directory : /opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/gems/facter-ng-4.2.11/lib/facter/facts/aix/
Upload File :
Current File : //opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/gems/facter-ng-4.2.11/lib/facter/facts/aix/processor.rb

# frozen_string_literal: true

module Facts
  module Aix
    class Processor
      FACT_NAME = 'processor.*'
      TYPE = :legacy

      def call_the_resolver
        arr = []
        processors = Facter::Resolvers::Aix::Processors.resolve(:models)

        processors.count.times do |iterator|
          arr << Facter::ResolvedFact.new("processor#{iterator}", processors[iterator], :legacy)
        end
        arr
      end
    end
  end
end

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]