hardwaremodel.rb

Path: lib/facter/hardwaremodel.rb
Last Update: Fri May 17 10:14:30 +0000 2013

Fact: hardwaremodel

Purpose:

  Returns the hardware model of the system.

Resolution:

  Uses purely "uname -m" on all platforms other than AIX and Windows.
  On AIX uses the parsed "modelname" output of "lsattr -El sys0 -a modelname".
  On Windows uses the 'host_cpu' pulled out of Ruby's config.

Caveats:

Required files

facter/util/wmi  

[Validate]