Sha256: aecb7cbbe09dbda779bf6882b3642ad7496bf82992e756672c23bdeba8d74062
Contents?: true
Size: 450 Bytes
Versions: 6
Compression:
Stored size: 450 Bytes
Contents
# frozen_string_literal: true module Facts module El 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
6 entries across 6 versions & 1 rubygems