Sha256: 87dd76bbcc329c4af6c68aa13e26545d3e88c63fe33572ad5f82f3470287963b

Contents?: true

Size: 381 Bytes

Versions: 1

Compression:

Stored size: 381 Bytes

Contents

# frozen_string_literal: true

module Facts
  module El
    module Dmi
      module Product
        class Uuid
          FACT_NAME = 'dmi.product.uuid'

          def call_the_resolver
            fact_value = Facter::Resolvers::Linux::DmiBios.resolve(:product_uuid)
            Facter::ResolvedFact.new(FACT_NAME, fact_value)
          end
        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/dmi/product/uuid.rb