Sha256: d5c7023565d8157186458809b6438ab55ba47c33f1f13bb95d17261a75b090cc

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Macosx
    module Os
      class Hardware
        FACT_NAME = 'os.hardware'

        def call_the_resolver
          fact_value = Facter::Resolvers::Uname.resolve(:machine)
          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/macosx/os/hardware.rb