Sha256: 8e0d48b9cd7bcdc546490aa4ee9280f970b99d59c272bb6dcc604b204a29a392
Contents?: true
Size: 469 Bytes
Versions: 2
Compression:
Stored size: 469 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.6 | lib/facter/manufacturer.rb |
facter-1.5.5 | lib/facter/manufacturer.rb |