Sha256: b82e59e9658334c9a651b4fd1d32c1d36b1b994be3525d021e3d52206fea7ac9

Contents?: true

Size: 477 Bytes

Versions: 63

Compression:

Stored size: 477 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Linux
    module Dmi
      module Bios
        class Version
          FACT_NAME = 'dmi.bios.version'
          ALIASES = 'bios_version'

          def call_the_resolver
            fact_value = Facter::Resolvers::Linux::DmiBios.resolve(:bios_version)
            [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)]
          end
        end
      end
    end
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
facter-4.0.23 lib/facts/linux/dmi/bios/version.rb
facter-4.0.22 lib/facts/linux/dmi/bios/version.rb
facter-4.0.21 lib/facts/linux/dmi/bios/version.rb