Sha256: 347c2567320555210d91bf57eb15c8fb9c0d2f9189379a056e37b2dc3731c9db

Contents?: true

Size: 307 Bytes

Versions: 2

Compression:

Stored size: 307 Bytes

Contents

# frozen_string_literal: true

module Facter
  module El
    class DmiBoardSerialNumber
      FACT_NAME = 'dmi.board.serial_number'

      def call_the_resolver
        fact_value = Resolvers::Linux::DmiBios.resolve(:board_serial)
        ResolvedFact.new(FACT_NAME, fact_value)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facter-4.0.8.pre lib/facts/el/dmi/board/serial_number.rb
facter-4.0.7.pre lib/facts/el/dmi/board/serial_number.rb