Last Modified
2014-06-06 15:00:46 +0000
Requires
  • facter/util/architecture

Description

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: