Sha256: 83a3cd3edf19be36dea12db3080b355fab1b8e1181b542b872c281aada997a38

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

module Facts
  module El
    module Dmi
      module Chassis
        class AssetTag
          FACT_NAME = 'dmi.chassis.asset_tag'

          def call_the_resolver
            fact_value = Facter::Resolvers::Linux::DmiBios.resolve(:chassis_asset_tag)
            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/chassis/asset_tag.rb