architecture.rb

Path: lib/facter/architecture.rb
Last Update: Sat Feb 23 07:17:42 +0000 2019

Fact: architecture

Purpose:

  Return the CPU hardware architecture.

Resolution:

  On non-AIX IBM, OpenBSD, Linux, and Debian's kfreebsd, use the hardwaremodel fact.
  On AIX get the arch value from `lsattr -El proc0 -a type`.
  Gentoo and Debian call "x86_86" "amd64".
  Gentoo also calls "i386" "x86".

Caveats:

Required files

facter/util/architecture  

[Validate]