Sha256: 1cc8f94c781abd27f750115b7d0bb55df978107c4025a992143037f5decfcf2b

Contents?: true

Size: 385 Bytes

Versions: 1

Compression:

Stored size: 385 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Debian
    module Dmi
      module Chassis
        class Type
          FACT_NAME = 'dmi.chassis.type'

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