Sha256: c0a94de6115a0fb4512aefe341cc1db69c5a6345b9aced49bec11852898265b1

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true

module Facts
  module El
    module Processors
      class Count
        FACT_NAME = 'processors.count'

        def call_the_resolver
          fact_value = Facter::Resolvers::Linux::Processors.resolve(:processors)
          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/count.rb