Sha256: 4f719ef2994e5bacf8b87d2dd7239902aa11f74c8853ad281a6d8a1fac921570
Contents?: true
Size: 453 Bytes
Versions: 63
Compression:
Stored size: 453 Bytes
Contents
# frozen_string_literal: true module Facts module Linux class Processor FACT_NAME = 'processor.*' TYPE = :legacy def call_the_resolver arr = [] processors = Facter::Resolvers::Linux::Processors.resolve(:models) (0...processors.count).each do |iterator| arr << Facter::ResolvedFact.new("processor#{iterator}", processors[iterator], :legacy) end arr end end end end
Version data entries
63 entries across 63 versions & 1 rubygems