Sha256: 930cc8c85c8b1fc366cc9b078070d59b79b1da4d37b703a5454a5c10747801ac

Contents?: true

Size: 332 Bytes

Versions: 2

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Macosx
    class SystemProfilerHardwareUuid
      FACT_NAME = 'system_profiler.hardware_uuid'

      def call_the_resolver
        fact_value = Facter::Resolvers::SystemProfiler.resolve(:hardware_uuid)
        ResolvedFact.new(FACT_NAME, fact_value)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facter-4.0.8.pre lib/facts/macosx/system_profiler/hardware_uuid.rb
facter-4.0.7.pre lib/facts/macosx/system_profiler/hardware_uuid.rb