Sha256: a2d96994883f45111e54c02d8dea2a478cd3548cd35cb99cccd6266ea7ad51d5

Contents?: true

Size: 373 Bytes

Versions: 1

Compression:

Stored size: 373 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Macosx
    module SystemProfiler
      class HardwareUuid
        FACT_NAME = 'system_profiler.hardware_uuid'

        def call_the_resolver
          fact_value = Facter::Resolvers::SystemProfiler.resolve(:hardware_uuid)
          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/system_profiler/hardware_uuid.rb