Sha256: 5543459f56bd7045f860eab998bfcf426c87d3c8288e601467e60a537907a32c

Contents?: true

Size: 424 Bytes

Versions: 2

Compression:

Stored size: 424 Bytes

Contents

# manufacturer.rb
# Facts related to hardware manufacturer
#
#

require 'facter/util/manufacturer'

query = {
	'[Ss]ystem [Ii]nformation' => [
		{ 'Manufacturer:' => 'manufacturer' },
		{ 'Product(?: Name)?:' => 'productname' },
		{ 'Serial Number:' => 'serialnumber' }
	],
	'(Chassis Information|system enclosure or chassis)' => [
		{ '(?:Chassis )?Type:' => 'type' }
	]
}

Facter::Manufacturer.dmi_find_system_info(query)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facter-1.5.4 lib/facter/manufacturer.rb
facter-1.5.3 lib/facter/manufacturer.rb