Sha256: e9a2c9874cf572e71205b230a075e73c96d5eb683b49f3415b40972c8dad3ef7
Contents?: true
Size: 473 Bytes
Versions: 11
Compression:
Stored size: 473 Bytes
Contents
# frozen_string_literal: true module Facts module El module Dmi module Product class Name FACT_NAME = 'dmi.product.name' ALIASES = 'productname' def call_the_resolver fact_value = Facter::Resolvers::Linux::DmiBios.resolve(:product_name) [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)] end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems