Sha256: 7a2676da17841b51ef033a4c58c0f4f747a0591ffa3eec53603f914a7e3af04c

Contents?: true

Size: 385 Bytes

Versions: 1

Compression:

Stored size: 385 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Debian
    module Dmi
      module Product
        class Name
          FACT_NAME = 'dmi.product.name'

          def call_the_resolver
            fact_value = Facter::Resolvers::Linux::DmiBios.resolve(:product_name)
            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/debian/dmi/product/name.rb