Sha256: d0c8e5df5f63d1a2a8e1a331bf0e4896662a26170f9b172c9775dba80dc33341

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 Bytes

Contents

# frozen_string_literal: true

module Facts
  module El
    module Dmi
      module Board
        class SerialNumber
          FACT_NAME = 'dmi.board.serial_number'

          def call_the_resolver
            fact_value = Facter::Resolvers::Linux::DmiBios.resolve(:board_serial)
            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/board/serial_number.rb