Sha256: 6b660a23b4b1928542e3d5032a5c412c326f9c011b2f2f7c28f3682396879bb5

Contents?: true

Size: 365 Bytes

Versions: 1

Compression:

Stored size: 365 Bytes

Contents

# frozen_string_literal: true

module Facts
  module El
    module Processors
      class Physicalcount
        FACT_NAME = 'processors.physicalcount'

        def call_the_resolver
          fact_value = Facter::Resolvers::Linux::Processors.resolve(:physical_count)
          Facter::ResolvedFact.new(FACT_NAME, fact_value)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facter-4.0.9.pre lib/facts/el/processors/physicalcount.rb