This is a list of all of the built-in facts that ship with Facter, which includes both legacy facts and newer structured facts.
Not all of them apply to every system, and your site might also use custom facts delivered via Puppet
modules. To see the full list of structured facts and values on a given system (including plugin facts), run puppet facts
at the
command line. If you are using Puppet Enterprise, you can view all of the facts for any node on the node’s page in the console.
You can access facts in your Puppet manifests as $fact_name
or $facts[fact_name]
. For more information, see
the Puppet docs on facts and built-in variables.
Legacy Facts Note: As of Facter 3, legacy facts such as
architecture
are hidden by default to reduce noise in Facter’s default command-line output. These older facts are now part of more useful structured facts; for example,architecture
is now part of theos
fact and accessible asos.architecture
. You can still use these legacy facts in Puppet manifests ($architecture
), request them on the command line (facter architecture
), and view them alongside structured facts (facter --show-legacy
).
aio_agent_version
Type: string
Purpose:
Return the version of the puppet-agent package that installed facter.
Resolution:
augeas
Type: map
Purpose:
Return information about augeas.
Elements:
version
(string) — The version of augparse.Resolution:
cloud
Type: map
Purpose:
Information about the cloud instance of the node. This is currently only populated on Linux nodes running in Microsoft Azure.
Elements:
provider
(string) — The cloud provider for the node.disks
Type: map
Purpose:
Return the disk (block) devices attached to the system.
Elements:
<devicename>
(map) — Represents a disk or block device.
model
(string) — The model of the disk or block device.product
(string) — The product name of the disk or block device.serial_number
(string) — The serial number of the disk or block device.size
(string) — The display size of the disk or block device, such as “1 GiB”.size_bytes
(integer) — The size of the disk or block device, in bytes.vendor
(string) — The vendor of the disk or block device.Resolution:
/sys/block/<device>/
.kstat
function to query disk information.Caveats:
dmi
Type: map
Purpose:
Return the system management information.
Elements:
bios
(map) — The system BIOS information.
release_date
(string) — The release date of the system BIOS.vendor
(string) — The vendor of the system BIOS.version
(string) — The version of the system BIOS.board
(map) — The system board information.
asset_tag
(string) — The asset tag of the system board.manufacturer
(string) — The manufacturer of the system board.product
(string) — The product name of the system board.serial_number
(string) — The serial number of the system board.chassis
(map) — The system chassis information.
asset_tag
(string) — The asset tag of the system chassis.type
(string) — The type of the system chassis.manufacturer
(string) — The system manufacturer.product
(map) — The system product information.
name
(string) — The product name of the system.serial_number
(string) — The product serial number of the system.uuid
(string) — The product unique identifier of the system.Resolution:
/sys/class/dmi/id/
to retrieve system management information.sysctl
function to retrieve system management information.smbios
, prtconf
, and uname
utilities to retrieve system management
information.Caveats:
ec2_metadata
Type: map
Purpose:
Return the Amazon Elastic Compute Cloud (EC2) instance metadata. Please see the EC2 instance metadata documentation for the contents of this fact.
Resolution:
Caveats:
libfacter
must be built with libcurl
support.ec2_userdata
Type: string
Purpose:
Return the Amazon Elastic Compute Cloud (EC2) instance user data. Please see the EC2 instance user data documentation for the contents of this fact.
Resolution:
Caveats:
libfacter
must be built with libcurl
support.env_windows_installdir
Type: string
Purpose:
Return the path of the directory in which Puppet was installed.
Resolution:
environment.bat
script that configures the runtime environmentCaveats:
facterversion
Type: string
Purpose:
Return the version of facter.
Resolution:
filesystems
Type: string
Purpose:
Return the usable file systems for block or disk devices.
Resolution:
/etc/vfs
to retrieve the usable file systems./proc/filesystems
to retrieve the usable file systems.getfsstat
function to retrieve the usable file systems.sysdef
utility to retrieve the usable file systems.Caveats:
fips_enabled
Type: boolean
Purpose:
Return whether the platform is in FIPS mode
Resolution:
/proc/sys/crypto/fips_enabled
which if non-zero indicates fips mode has been enabled.HKEY_LOCAL_MACHINE/System/CurrentControlSet/Control/Lsa/FipsAlgorithmPolicy/Enabled
is 1 or 0Caveats:
gce
Type: map
Purpose:
Return the Google Compute Engine (GCE) metadata. Please see the GCE metadata documentation for the contents of this fact.
Resolution:
Caveats:
libfacter
must be built with libcurl
support.hypervisors
Type: map
Purpose:
Experimental fact: Return the names of any detected hypervisors and any collected metadata about them.
Resolution:
whereami
library to gather hypervisor data, if available.identity
Type: map
Purpose:
Return the identity information of the user running facter.
Elements:
gid
(integer) — The group identifier of the user running facter.group
(string) — The group name of the user running facter.uid
(integer) — The user identifier of the user running facter.user
(string) — The user name of the user running facter.privileged
(boolean) — True if facter is running as a privileged process or false if not.Resolution:
getegid
, getpwuid_r
, geteuid
, and getgrgid_r
functions to
retrieve the identity information; use the result of the geteuid() == 0
test as the value of the privileged elementGetUserNameExW
function to retrieve the identity information; use the GetTokenInformation
to
get the current process token elevation status and use it as the value of the privileged element on versions of Windows supporting the
token elevation, on older versions of Windows use the CheckTokenMembership
to test whether the well known local Administrators
group SID is enabled in the current thread impersonation token and use the test result as the value of the privileged elementis_virtual
Type: boolean
Purpose:
Return whether or not the host is a virtual machine.
Resolution:
vmware
and virt-what
to retrieve virtual machine status.zonename
utility to retrieve virtual machine status.kernel
Type: string
Purpose:
Return the kernel’s name.
Resolution:
uname
function to retrieve the kernel name.windows
for all Windows versions.kernelmajversion
Type: string
Purpose:
Return the kernel’s major version.
Resolution:
uname
function to retrieve the kernel’s major version.kernel32.dll
to retrieve the kernel’s major version.kernelrelease
Type: string
Purpose:
Return the kernel’s release.
Resolution:
uname
function to retrieve the kernel’s release.kernel32.dll
to retrieve the kernel’s release.kernelversion
Type: string
Purpose:
Return the kernel’s version.
Resolution:
uname
function to retrieve the kernel’s version.kernel32.dll
to retrieve the kernel’s version.ldom
Type: map
Purpose:
Return Solaris LDom information from the virtinfo
utility.
Resolution:
virtinfo
utility to retrieve LDom information.load_averages
Type: map
Purpose:
Return the load average over the last 1, 5 and 15 minutes.
Elements:
1m
(double) — The system load average over the last minute.5m
(double) — The system load average over the last 5 minutes.15m
(double) — The system load average over the last 15 minutes.Resolution:
getloadavg
function to retrieve the system load averages.memory
Type: map
Purpose:
Return the system memory information.
Elements:
swap
(map) — Represents information about swap memory.
available
(string) — The display size of the available amount of swap memory, such as “1 GiB”.available_bytes
(integer) — The size of the available amount of swap memory, in bytes.capacity
(string) — The capacity percentage (0% is empty, 100% is full).encrypted
(boolean) — True if the swap is encrypted or false if not.total
(string) — The display size of the total amount of swap memory, such as “1 GiB”.total_bytes
(integer) — The size of the total amount of swap memory, in bytes.used
(string) — The display size of the used amount of swap memory, such as “1 GiB”.used_bytes
(integer) — The size of the used amount of swap memory, in bytes.system
(map) — Represents information about system memory.
available
(string) — The display size of the available amount of system memory, such as “1 GiB”.available_bytes
(integer) — The size of the available amount of system memory, in bytes.capacity
(string) — The capacity percentage (0% is empty, 100% is full).total
(string) — The display size of the total amount of system memory, such as “1 GiB”.total_bytes
(integer) — The size of the total amount of system memory, in bytes.used
(string) — The display size of the used amount of system memory, such as “1 GiB”.used_bytes
(integer) — The size of the used amount of system memory, in bytes.Resolution:
/proc/meminfo
to retrieve the system memory information.sysctl
function to retrieve the system memory information.kstat
function to retrieve the system memory information.GetPerformanceInfo
function to retrieve the system memory information.mountpoints
Type: map
Purpose:
Return the current mount points of the system.
Elements:
<mountpoint>
(map) — Represents a mount point.
available
(string) — The display size of the available space, such as “1 GiB”.available_bytes
(integer) — The size of the available space, in bytes.capacity
(string) — The capacity percentage (0% is empty, 100% is full).device
(string) — The name of the mounted device.filesystem
(string) — The file system of the mounted device.options
(array) — The mount options.size
(string) — The display size of the total space, such as “1 GiB”.size_bytes
(integer) — The size of the total space, in bytes.used
(string) — The display size of the used space, such as “1 GiB”.used_bytes
(integer) — The size of the used space, in bytes.Resolution:
mntctl
function to retrieve the mount points.setmntent
function to retrieve the mount points.getfsstat
function to retrieve the mount points./etc/mnttab
to retrieve the mount points.networking
Type: map
Purpose:
Return the networking information for the system.
Elements:
dhcp
(ip) — The address of the DHCP server for the default interface.domain
(string) — The domain name of the system.fqdn
(string) — The fully-qualified domain name of the system.hostname
(string) — The host name of the system.interfaces
(map) — The network interfaces of the system.
<interface>
(map) — Represents a network interface.
bindings
(array) — The array of IPv4 address bindings for the interface.bindings6
(array) — The array of IPv6 address bindings for the interface.dhcp
(ip) — The DHCP server for the network interface.ip
(ip) — The IPv4 address for the network interface.ip6
(ip6) — The IPv6 address for the network interface.mac
(mac) — The MAC address for the network interface.mtu
(integer) — The Maximum Transmission Unit (MTU) for the network interface.netmask
(ip) — The IPv4 netmask for the network interface.netmask6
(ip6) — The IPv6 netmask for the network interface.network
(ip) — The IPv4 network for the network interface.network6
(ip6) — The IPv6 network for the network interface.scope6
(string) — The IPv6 scope for the network interface.ip
(ip) — The IPv4 address of the default network interface.ip6
(ip6) — The IPv6 address of the default network interface.mac
(mac) — The MAC address of the default network interface.mtu
(integer) — The Maximum Transmission Unit (MTU) of the default network interface.netmask
(ip) — The IPv4 netmask of the default network interface.netmask6
(ip6) — The IPv6 netmask of the default network interface.network
(ip) — The IPv4 network of the default network interface.network6
(ip6) — The IPv6 network of the default network interface.primary
(string) — The name of the primary interface.scope6
(string) — The IPv6 scope of the default network interface.Resolution:
getifaddrs
function to retrieve the network interfaces.getifaddrs
function to retrieve the network interfaces.ioctl
function to retrieve the network interfaces.GetAdaptersAddresses
function to retrieve the network interfaces.Caveats:
GetAdaptersInfo
function is used for DHCP and netmask lookup. This function does not support IPv6
netmasks.os
Type: map
Purpose:
Return information about the host operating system.
Elements:
architecture
(string) — The operating system’s hardware architecture.distro
(map) — Represents information about a Linux distribution.
codename
(string) — The code name of the Linux distribution.description
(string) — The description of the Linux distribution.id
(string) — The identifier of the Linux distribution.release
(map) — Represents information about a Linux distribution release.
full
(string) — The full release of the Linux distribution.major
(string) — The major release of the Linux distribution.minor
(string) — The minor release of the Linux distribution.specification
(string) — The Linux Standard Base (LSB) release specification.family
(string) — The operating system family.hardware
(string) — The operating system’s hardware model.macosx
(map) — Represents information about Mac OSX.
build
(string) — The Mac OSX build version.product
(string) — The Mac OSX product name.version
(map) — Represents information about the Mac OSX version.
full
(string) — The full Mac OSX version number.major
(string) — The major Mac OSX version number.minor
(string) — The minor Mac OSX version number.name
(string) — The operating system’s name.release
(map) — Represents the operating system’s release.
full
(string) — The full operating system release.major
(string) — The major release of the operating system.minor
(string) — The minor release of the operating system.patchlevel
(string) — The patchlevel of the operating system.branch
(string) — The branch the operating system was cut from.selinux
(map) — Represents information about Security-Enhanced Linux (SELinux).
config_mode
(string) — The configured SELinux mode.config_policy
(string) — The configured SELinux policy.current_mode
(string) — The current SELinux mode.enabled
(boolean) — True if SELinux is enabled or false if not.enforced
(boolean) — True if SELinux policy is enforced or false if not.policy_version
(string) — The version of the SELinux policy.windows
(map) — Represents information about Windows.
edition_id (string) — Specify the edition variant. (ServerStandard |
Professional | Enterprise) |
installation_type (string) — Specify the installation type. (Server |
Server Core | Client) |
product_name
(string) — Specify the textual product name.release_id
(string) — Windows Build Version of the form YYMM.system32
(string) — The path to the System32 directory.Resolution:
lsb_release
utility and parse the contents of release files in /etc
to retrieve the OS
information.sw_vers
utility to retrieve the OS information./etc/release
to retrieve the OS information.partitions
Type: map
Purpose:
Return the disk partitions of the system.
Elements:
<partition>
(map) — Represents a disk partition.
filesystem
(string) — The file system of the partition.label
(string) — The label of the partition.mount
(string) — The mount point of the partition (if mounted).partlabel
(string) — The label of a GPT partition.partuuid
(string) — The unique identifier of a GPT partition.size
(string) — The display size of the partition, such as “1 GiB”.size_bytes
(integer) — The size of the partition, in bytes.uuid
(string) — The unique identifier of a partition.backing_file
(string) — The path to the file backing the partition.Resolution:
lvm_querylv
function to get detailslibblkid
to retrieve the disk partitions.Caveats:
libfacter
must be built with libblkid
support.path
Type: string
Purpose:
Return the PATH environment variable.
Resolution:
processors
Type: map
Purpose:
Return information about the system’s processors.
Elements:
count
(integer) — The count of logical processors.isa
(string) — The processor instruction set architecture.models
(array) — The processor model strings (one for each logical processor).physicalcount
(integer) — The count of physical processors.speed
(string) — The speed of the processors, such as “2.0 GHz”.Resolution:
/sys/devices/system/cpu/
and /proc/cpuinfo
to retrieve the processor
information.sysctl
function to retrieve the processor information.kstat
function to retrieve the processor information.ruby
Type: map
Purpose:
Return information about the Ruby loaded by facter.
Elements:
platform
(string) — The platform Ruby was built for.sitedir
(string) — The path to Ruby’s site library directory.version
(string) — The version of Ruby.Resolution:
RbConfig
, RUBY_PLATFORM
, and RUBY_VERSION
to retrieve information about
Ruby.Caveats:
libruby
.solaris_zones
Type: map
Purpose:
Return information about Solaris zones.
Elements:
current
(string) — The name of the current Solaris zone.zones
(map) — Represents the Solaris zones.
<zonename>
(map) — Represents a Solaris zone.
brand
(string) — The brand of the Solaris zone.id
(string) — The id of the Solaris zone.ip_type
(string) — The IP type of the Solaris zone.path
(string) — The path of the Solaris zone.status
(string) — The status of the Solaris zone.uuid
(string) — The unique identifier of the Solaris zone.Resolution:
zoneadm
and zonename
utilities to retrieve information about the Solaris zones.ssh
Type: map
Purpose:
Return SSH public keys and fingerprints.
Elements:
dsa
(map) — Represents the public key and fingerprints for the DSA algorithm.
fingerprints
(map) — Represents fingerprint information.
sha1
(string) — The SHA1 fingerprint of the public key.sha256
(string) — The SHA256 fingerprint of the public key.key
(string) — The DSA public key.type
(string) — The exact type of the key, i.e. “ssh-dss”.ecdsa
(map) — Represents the public key and fingerprints for the ECDSA algorithm.
fingerprints
(map) — Represents fingerprint information.
sha1
(string) — The SHA1 fingerprint of the public key.sha256
(string) — The SHA256 fingerprint of the public key.key
(string) — The ECDSA public key.type
(string) — The exact type of the key, e.g. “ecdsa-sha2-nistp256”.ed25519
(map) — Represents the public key and fingerprints for the Ed25519 algorithm.
fingerprints
(map) — Represents fingerprint information.
sha1
(string) — The SHA1 fingerprint of the public key.sha256
(string) — The SHA256 fingerprint of the public key.key
(string) — The Ed25519 public key.type
(string) — The exact type of the key, i.e. “ssh-ed25519”.rsa
(map) — Represents the public key and fingerprints for the RSA algorithm.
fingerprints
(map) — Represents fingerprint information.
sha1
(string) — The SHA1 fingerprint of the public key.sha256
(string) — The SHA256 fingerprint of the public key.key
(string) — The RSA public key.type
(string) — The exact type of the key, i.e. “ssh-rsa”.Resolution:
Caveats:
system_profiler
Type: map
Purpose:
Return information from the Mac OSX system profiler.
Elements:
boot_mode
(string) — The boot mode.boot_rom_version
(string) — The boot ROM version.boot_volume
(string) — The boot volume.computer_name
(string) — The name of the computer.cores
(string) — The total number of processor cores.hardware_uuid
(string) — The hardware unique identifier.kernel_version
(string) — The version of the kernel.l2_cache_per_core
(string) — The size of the processor per-core L2 cache.l3_cache
(string) — The size of the processor L3 cache.memory
(string) — The size of the system memory.model_identifier
(string) — The identifier of the computer model.model_name
(string) — The name of the computer model.processor_name
(string) — The model name of the processor.processor_speed
(string) — The speed of the processor.processors
(string) — The total number of processors.secure_virtual_memory
(string) — Whether or not secure virtual memory is enabled.serial_number
(string) — The serial number of the computer.smc_version
(string) — The System Management Controller (SMC) version.system_version
(string) — The operating system version.uptime
(string) — The uptime of the system.username
(string) — The name of the user running facter.Resolution:
system_profiler
utility to retrieve system profiler information.system_uptime
Type: map
Purpose:
Return the system uptime information.
Elements:
days
(integer) — The number of complete days the system has been up.hours
(integer) — The number of complete hours the system has been up.seconds
(integer) — The number of total seconds the system has been up.uptime
(string) — The full uptime string.Resolution:
sysinfo
function to retrieve the system uptime.uptime
utility to retrieve the system uptime.kstat
function to retrieve the system uptime.timezone
Type: string
Purpose:
Return the system timezone.
Resolution:
localtime_r
function to retrieve the system timezone.localtime_s
function to retrieve the system timezone.virtual
Type: string
Purpose:
Return the hypervisor name for virtual machines or “physical” for physical machines.
Resolution:
vmware
and virt-what
to retrieve virtual machine name.zonename
utility to retrieve virtual machine name.xen
Type: map
Purpose:
Return metadata for the Xen hypervisor.
Elements:
domains
(array) — list of strings identifying active Xen domains.Resolution:
/usr/lib/xen-common/bin/xen-toolstack
to locate xen admin commands if available, otherwise fallback
to /usr/sbin/xl
or /usr/sbin/xm
. Use the found command to execute the list
query.Caveats:
zfs_featurenumbers
Type: string
Purpose:
Return the comma-delimited feature numbers for ZFS.
Resolution:
zfs
utility to retrieve the feature numbers for ZFSCaveats:
zfs
utility must be present.zfs_version
Type: string
Purpose:
Return the version for ZFS.
Resolution:
zfs
utility to retrieve the version for ZFSCaveats:
zfs
utility must be present.zpool_featureflags
Type: string
Purpose:
Return the comma-delimited feature flags for ZFS storage pools.
Resolution:
zpool
utility to retrieve the feature numbers for ZFS storage poolsCaveats:
zpool
utility must be present.zpool_featurenumbers
Type: string
Purpose:
Return the comma-delimited feature numbers for ZFS storage pools.
Resolution:
zpool
utility to retrieve the feature numbers for ZFS storage poolsCaveats:
zpool
utility must be present.zpool_version
Type: string
Purpose:
Return the version for ZFS storage pools.
Resolution:
zpool
utility to retrieve the version for ZFS storage poolsCaveats:
zpool
utility must be present.architecture
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the operating system’s hardware architecture.
Resolution:
uname
function to retrieve the OS hardware architecture.GetNativeSystemInfo
function to retrieve the OS hardware architecture.Caveats:
augeasversion
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the version of augeas.
Resolution:
blockdevices
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return a comma-separated list of block devices.
Resolution:
/sys/block/<device>/
.kstat
function to query disk information.Caveats:
blockdevice_<devicename>_model
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the model name of block devices attached to the system.
Resolution:
/sys/block/<device>/device/model
to retrieve the model name/number for a device.kstat
function to query disk information.Caveats:
blockdevice_<devicename>_size
This legacy fact is hidden by default in Facter’s command-line output.
Type: integer
Purpose:
Return the size of a block device in bytes.
Resolution:
/sys/block/<device>/size
to receive the size (multiplying by 512 to correct for
blocks-to-bytes).kstat
function to query disk information.Caveats:
blockdevice_<devicename>_vendor
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the vendor name of block devices attached to the system.
Resolution:
/sys/block/<device>/device/vendor
to retrieve the vendor for a device.kstat
function to query disk information.Caveats:
bios_release_date
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the release date of the system BIOS.
Resolution:
/sys/class/dmi/id/bios_date
to retrieve the system BIOS release date.smbios
utility to retrieve the system BIOS release date.Caveats:
bios_vendor
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the vendor of the system BIOS.
Resolution:
/sys/class/dmi/id/bios_vendor
to retrieve the system BIOS vendor.smbios
utility to retrieve the system BIOS vendor.Caveats:
bios_version
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the version of the system BIOS.
Resolution:
/sys/class/dmi/id/bios_version
to retrieve the system BIOS version.smbios
utility to retrieve the system BIOS version.Caveats:
boardassettag
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the system board asset tag.
Resolution:
/sys/class/dmi/id/board_asset_tag
to retrieve the system board asset tag.Caveats:
boardmanufacturer
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the system board manufacturer.
Resolution:
/sys/class/dmi/id/board_vendor
to retrieve the system board manufacturer.Caveats:
boardproductname
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the system board product name.
Resolution:
/sys/class/dmi/id/board_name
to retrieve the system board product name.Caveats:
boardserialnumber
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the system board serial number.
Resolution:
/sys/class/dmi/id/board_serial
to retrieve the system board serial number.Caveats:
chassisassettag
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the system chassis asset tag.
Resolution:
/sys/class/dmi/id/chassis_asset_tag
to retrieve the system chassis asset tag.smbios
utility to retrieve the system chassis asset tag.Caveats:
chassistype
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the system chassis type.
Resolution:
/sys/class/dmi/id/chassis_type
to retrieve the system chassis type.smbios
utility to retrieve the system chassis type.Caveats:
dhcp_servers
This legacy fact is hidden by default in Facter’s command-line output.
Type: map
Purpose:
Return the DHCP servers for the system.
Elements:
<interface>
(ip) — The DHCP server for the interface.system
(ip) — The DHCP server for the default interface.Resolution:
dhclient
lease files or use the dhcpcd
utility to retrieve the DHCP servers.ipconfig
utility to retrieve the DHCP servers.dhcpinfo
utility to retrieve the DHCP servers.GetAdaptersAddresses
(Windows Server 2003: GetAdaptersInfo
) function to retrieve the DHCP
servers.domain
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the network domain of the system.
Resolution:
getaddrinfo
function to retrieve the network domain.fqdn
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the fully qualified domain name (FQDN) of the system.
Resolution:
getaddrinfo
function to retrieve the FQDN or use host and domain names.gid
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the group identifier (GID) of the user running facter.
Resolution:
getegid
fuction to retrieve the group identifier.hardwareisa
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the hardware instruction set architecture (ISA).
Resolution:
uname
to retrieve the hardware ISA.hardwaremodel
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the operating system’s hardware model.
Resolution:
uname
function to retrieve the OS hardware model.GetNativeSystemInfo
function to retrieve the OS hardware model.hostname
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the host name of the system.
Resolution:
gethostname
function to retrieve the host nameGetComputerNameExW
function to retrieve the host name.id
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the user identifier (UID) of the user running facter.
Resolution:
geteuid
fuction to retrieve the user identifier.interfaces
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the comma-separated list of network interface names.
Resolution:
getifaddrs
function to retrieve the network interface names.getifaddrs
function to retrieve the network interface names.ioctl
function to retrieve the network interface names.GetAdaptersAddresses
function to retrieve the network interface names.ipaddress
This legacy fact is hidden by default in Facter’s command-line output.
Type: ip
Purpose:
Return the IPv4 address for the default network interface.
Resolution:
getifaddrs
function to retrieve the network interface address.getifaddrs
function to retrieve the network interface address.ioctl
function to retrieve the network interface address.GetAdaptersAddresses
function to retrieve the network interface address.ipaddress6
This legacy fact is hidden by default in Facter’s command-line output.
Type: ip6
Purpose:
Return the IPv6 address for the default network interface.
Resolution:
getifaddrs
function to retrieve the network interface address.getifaddrs
function to retrieve the network interface address.ioctl
function to retrieve the network interface address.GetAdaptersAddresses
function to retrieve the network interface address.ipaddress6_<interface>
This legacy fact is hidden by default in Facter’s command-line output.
Type: ip6
Purpose:
Return the IPv6 address for a network interface.
Resolution:
getifaddrs
function to retrieve the network interface address.getifaddrs
function to retrieve the network interface address.ioctl
function to retrieve the network interface address.GetAdaptersAddresses
function to retrieve the network interface address.ipaddress_<interface>
This legacy fact is hidden by default in Facter’s command-line output.
Type: ip
Purpose:
Return the IPv4 address for a network interface.
Resolution:
getifaddrs
function to retrieve the network interface address.getifaddrs
function to retrieve the network interface address.ioctl
function to retrieve the network interface address.GetAdaptersAddresses
function to retrieve the network interface address.ldom_<name>
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return Solaris LDom information.
Resolution:
virtinfo
utility to retrieve LDom information.lsbdistcodename
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the Linux Standard Base (LSB) distribution code name.
Resolution:
lsb_release
utility to retrieve the LSB distribution code name.Caveats:
lsb_release
utility be installed.lsbdistdescription
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the Linux Standard Base (LSB) distribution description.
Resolution:
lsb_release
utility to retrieve the LSB distribution description.Caveats:
lsb_release
utility be installed.lsbdistid
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the Linux Standard Base (LSB) distribution identifier.
Resolution:
lsb_release
utility to retrieve the LSB distribution identifier.Caveats:
lsb_release
utility be installed.lsbdistrelease
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the Linux Standard Base (LSB) distribution release.
Resolution:
lsb_release
utility to retrieve the LSB distribution release.Caveats:
lsb_release
utility be installed.lsbmajdistrelease
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the Linux Standard Base (LSB) major distribution release.
Resolution:
lsb_release
utility to retrieve the LSB major distribution release.Caveats:
lsb_release
utility be installed.lsbminordistrelease
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the Linux Standard Base (LSB) minor distribution release.
Resolution:
lsb_release
utility to retrieve the LSB minor distribution release.Caveats:
lsb_release
utility be installed.lsbrelease
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the Linux Standard Base (LSB) release.
Resolution:
lsb_release
utility to retrieve the LSB release.Caveats:
lsb_release
utility be installed.macaddress
This legacy fact is hidden by default in Facter’s command-line output.
Type: mac
Purpose:
Return the MAC address for the default network interface.
Resolution:
getifaddrs
function to retrieve the network interface address.getifaddrs
function to retrieve the network interface address.ioctl
function to retrieve the network interface address.GetAdaptersAddresses
function to retrieve the network interface address.macaddress_<interface>
This legacy fact is hidden by default in Facter’s command-line output.
Type: mac
Purpose:
Return the MAC address for a network interface.
Resolution:
getifaddrs
function to retrieve the network interface address.getifaddrs
function to retrieve the network interface address.ioctl
function to retrieve the network interface address.GetAdaptersAddresses
function to retrieve the network interface address.macosx_buildversion
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the Mac OSX build version.
Resolution:
sw_vers
utility to retrieve the Mac OSX build version.macosx_productname
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the Mac OSX product name.
Resolution:
sw_vers
utility to retrieve the Mac OSX product name.macosx_productversion
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the Mac OSX product version.
Resolution:
sw_vers
utility to retrieve the Mac OSX product version.macosx_productversion_major
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the Mac OSX product major version.
Resolution:
sw_vers
utility to retrieve the Mac OSX product major version.macosx_productversion_minor
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the Mac OSX product minor version.
Resolution:
sw_vers
utility to retrieve the Mac OSX product minor version.manufacturer
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the system manufacturer.
Resolution:
/sys/class/dmi/id/sys_vendor
to retrieve the system manufacturer.prtconf
utility to retrieve the system manufacturer.Caveats:
memoryfree
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the display size of the free system memory, such as “1 GiB”.
Resolution:
/proc/meminfo
to retrieve the free system memory.sysctl
function to retrieve the free system memory.kstat
function to retrieve the free system memory.GetPerformanceInfo
function to retrieve the free system memory.memoryfree_mb
This legacy fact is hidden by default in Facter’s command-line output.
Type: double
Purpose:
Return the size of the free system memory, in mebibytes.
Resolution:
/proc/meminfo
to retrieve the free system memory.sysctl
function to retrieve the free system memory.kstat
function to retrieve the free system memory.GetPerformanceInfo
function to retrieve the free system memory.memorysize
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the display size of the total system memory, such as “1 GiB”.
Resolution:
/proc/meminfo
to retrieve the total system memory.sysctl
function to retrieve the total system memory.kstat
function to retrieve the total system memory.GetPerformanceInfo
function to retrieve the total system memory.memorysize_mb
This legacy fact is hidden by default in Facter’s command-line output.
Type: double
Purpose:
Return the size of the total system memory, in mebibytes.
Resolution:
/proc/meminfo
to retrieve the total system memory.sysctl
function to retrieve the total system memory.kstat
function to retrieve the total system memory.GetPerformanceInfo
function to retrieve the total system memory.mtu_<interface>
This legacy fact is hidden by default in Facter’s command-line output.
Type: integer
Purpose:
Return the Maximum Transmission Unit (MTU) for a network interface.
Resolution:
ioctl
function to retrieve the network interface MTU.getifaddrs
function to retrieve the network interface MTU.ioctl
function to retrieve the network interface MTU.GetAdaptersAddresses
function to retrieve the network interface MTU.netmask
This legacy fact is hidden by default in Facter’s command-line output.
Type: ip
Purpose:
Return the IPv4 netmask for the default network interface.
Resolution:
getifaddrs
function to retrieve the network interface netmask.getifaddrs
function to retrieve the network interface netmask.ioctl
function to retrieve the network interface netmask.GetAdaptersAddresses
(Windows Server 2003: GetAdaptersInfo
) function to retrieve the network
interface netmask.netmask6
This legacy fact is hidden by default in Facter’s command-line output.
Type: ip6
Purpose:
Return the IPv6 netmask for the default network interface.
Resolution:
getifaddrs
function to retrieve the network interface netmask.getifaddrs
function to retrieve the network interface netmask.ioctl
function to retrieve the network interface netmask.GetAdaptersAddresses
function to retrieve the network interface netmask.Caveats:
netmask6_<interface>
This legacy fact is hidden by default in Facter’s command-line output.
Type: ip6
Purpose:
Return the IPv6 netmask for a network interface.
Resolution:
getifaddrs
function to retrieve the network interface netmask.getifaddrs
function to retrieve the network interface netmask.ioctl
function to retrieve the network interface netmask.GetAdaptersAddresses
function to retrieve the network interface netmask.Caveats:
netmask_<interface>
This legacy fact is hidden by default in Facter’s command-line output.
Type: ip
Purpose:
Return the IPv4 netmask for a network interface.
Resolution:
getifaddrs
function to retrieve the network interface netmask.getifaddrs
function to retrieve the network interface netmask.ioctl
function to retrieve the network interface netmask.GetAdaptersAddresses
(Windows Server 2003: GetAdaptersInfo
) function to retrieve the network
interface netmask.network
This legacy fact is hidden by default in Facter’s command-line output.
Type: ip
Purpose:
Return the IPv4 network for the default network interface.
Resolution:
getifaddrs
function to retrieve the network interface network.getifaddrs
function to retrieve the network interface network.ioctl
function to retrieve the network interface network.GetAdaptersAddresses
function to retrieve the network interface network.network6
This legacy fact is hidden by default in Facter’s command-line output.
Type: ip6
Purpose:
Return the IPv6 network for the default network interface.
Resolution:
getifaddrs
function to retrieve the network interface network.getifaddrs
function to retrieve the network interface network.ioctl
function to retrieve the network interface network.GetAdaptersAddresses
function to retrieve the network interface network.network6_<interface>
This legacy fact is hidden by default in Facter’s command-line output.
Type: ip6
Purpose:
Return the IPv6 network for a network interface.
Resolution:
getifaddrs
function to retrieve the network interface network.getifaddrs
function to retrieve the network interface network.ioctl
function to retrieve the network interface network.GetAdaptersAddresses
function to retrieve the network interface network.network_<interface>
This legacy fact is hidden by default in Facter’s command-line output.
Type: ip
Purpose:
Return the IPv4 network for a network interface.
Resolution:
getifaddrs
function to retrieve the network interface network.getifaddrs
function to retrieve the network interface network.ioctl
function to retrieve the network interface network.GetAdaptersAddresses
function to retrieve the network interface network.operatingsystem
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the name of the operating system.
Resolution:
/etc
to retrieve the OS name.operatingsystemmajrelease
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the major release of the operating system.
Resolution:
/etc
to retrieve the OS major release./etc/release
to retrieve the OS major release.Caveats:
operatingsystemrelease
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the release of the operating system.
Resolution:
/etc
to retrieve the OS release./etc/release
to retrieve the OS release.osfamily
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the family of the operating system.
Resolution:
physicalprocessorcount
This legacy fact is hidden by default in Facter’s command-line output.
Type: integer
Purpose:
Return the count of physical processors.
Resolution:
/sys/devices/system/cpu/
and /proc/cpuinfo
to retrieve the count of physical
processors.sysctl
function to retrieve the count of physical processors.kstat
function to retrieve the count of physical processors.Caveats:
processor<N>
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the model string of processor N.
Resolution:
/proc/cpuinfo
to retrieve the processor model string.sysctl
function to retrieve the processor model string.kstat
function to retrieve the processor model string.processorcount
This legacy fact is hidden by default in Facter’s command-line output.
Type: integer
Purpose:
Return the count of logical processors.
Resolution:
/sys/devices/system/cpu/
and /proc/cpuinfo
to retrieve the count of logical
processors.sysctl
function to retrieve the count of logical processors.kstat
function to retrieve the count of logical processors.Caveats:
productname
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the system product name.
Resolution:
/sys/class/dmi/id/product_name
to retrieve the system product name.sysctl
function to retrieve the system product name.smbios
utility to retrieve the system product name.Caveats:
rubyplatform
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the platform Ruby was built for.
Resolution:
RUBY_PLATFORM
from the Ruby loaded by facter.Caveats:
libruby
.rubysitedir
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the path to Ruby’s site library directory.
Resolution:
RbConfig
from the Ruby loaded by facter.Caveats:
libruby
.rubyversion
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the version of Ruby.
Resolution:
RUBY_VERSION
from the Ruby loaded by facter.Caveats:
libruby
.scope6
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the IPv6 scope for the default network interface.
Resolution:
getifaddrs
function to retrieve the network interface scope.ioctl
function to retrieve the network interface scope.GetAdaptersAddresses
function to retrieve the network interface scope.scope6_<interface>
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the IPv6 scope for the default network interface.
Resolution:
getifaddrs
function to retrieve the network interface scope.ioctl
function to retrieve the network interface scope.GetAdaptersAddresses
function to retrieve the network interface scope.selinux
This legacy fact is hidden by default in Facter’s command-line output.
Type: boolean
Purpose:
Return whether Security-Enhanced Linux (SELinux) is enabled.
Resolution:
/proc/self/mounts
to determine if SELinux is enabled.selinux_config_mode
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the configured Security-Enhanced Linux (SELinux) mode.
Resolution:
/etc/selinux/config
to retrieve the configured SELinux mode.selinux_config_policy
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the configured Security-Enhanced Linux (SELinux) policy.
Resolution:
/etc/selinux/config
to retrieve the configured SELinux policy.selinux_current_mode
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the current Security-Enhanced Linux (SELinux) mode.
Resolution:
<mountpoint>/enforce
to retrieve the current SELinux mode.selinux_enforced
This legacy fact is hidden by default in Facter’s command-line output.
Type: boolean
Purpose:
Return whether Security-Enhanced Linux (SELinux) is enforced.
Resolution:
<mountpoint>/enforce
to retrieve the current SELinux mode.selinux_policyversion
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the Security-Enhanced Linux (SELinux) policy version.
Resolution:
<mountpoint>/policyvers
to retrieve the SELinux policy version.serialnumber
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the system product serial number.
Resolution:
/sys/class/dmi/id/product_name
to retrieve the system product serial number.smbios
utility to retrieve the system product serial number.Caveats:
sp_<name>
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return Mac OSX system profiler information.
Resolution:
system_profiler
utility to retrieve system profiler information.ssh<algorithm>key
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the SSH public key for the algorithm.
Resolution:
Caveats:
sshfp_<algorithm>
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the SSH fingerprints for the algorithm’s public key.
Resolution:
Caveats:
swapencrypted
This legacy fact is hidden by default in Facter’s command-line output.
Type: boolean
Purpose:
Return whether or not the swap is encrypted.
Resolution:
sysctl
function to retrieve swap encryption status.swapfree
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the display size of the free swap memory, such as “1 GiB”.
Resolution:
/proc/meminfo
to retrieve the free swap memory.sysctl
function to retrieve the free swap memory.swapctl
function to retrieve the free swap memory.swapfree_mb
This legacy fact is hidden by default in Facter’s command-line output.
Type: double
Purpose:
Return the size of the free swap memory, in mebibytes.
Resolution:
/proc/meminfo
to retrieve the free swap memory.sysctl
function to retrieve the free swap memory.swapctl
function to retrieve the free swap memory.swapsize
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the display size of the total swap memory, such as “1 GiB”.
Resolution:
/proc/meminfo
to retrieve the total swap memory.sysctl
function to retrieve the total swap memory.swapctl
function to retrieve the total swap memory.swapsize_mb
This legacy fact is hidden by default in Facter’s command-line output.
Type: double
Purpose:
Return the size of the total swap memory, in mebibytes.
Resolution:
/proc/meminfo
to retrieve the total swap memory.sysctl
function to retrieve the total swap memory.swapctl
function to retrieve the total swap memory.windows_edition_id
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the type of Windows edition, Server or Desktop Edition variant.
Resolution:
Windows: query the registry to retrieve the type of edition (ServerStandard | Professional | Enterprise). |
windows_installation_type
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return Windows installation type (Server | Server Core | Client). |
Resolution:
windows_product_name
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return Windows textual product name.
Resolution:
windows_release_id
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return Windows Build Version of the form YYMM.
Resolution:
system32
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the path to the System32 directory on Windows.
Resolution:
SHGetFolderPath
function to retrieve the path to the System32 directory.uptime
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the system uptime.
Resolution:
sysinfo
function to retrieve the system uptime.uptime
utility to retrieve the system uptime.kstat
function to retrieve the system uptime.uptime_days
This legacy fact is hidden by default in Facter’s command-line output.
Type: integer
Purpose:
Return the system uptime days.
Resolution:
sysinfo
function to retrieve the system uptime days.uptime
utility to retrieve the system uptime days.kstat
function to retrieve the system uptime days.uptime_hours
This legacy fact is hidden by default in Facter’s command-line output.
Type: integer
Purpose:
Return the system uptime hours.
Resolution:
sysinfo
function to retrieve the system uptime hours.uptime
utility to retrieve the system uptime hours.kstat
function to retrieve the system uptime hours.uptime_seconds
This legacy fact is hidden by default in Facter’s command-line output.
Type: integer
Purpose:
Return the system uptime seconds.
Resolution:
sysinfo
function to retrieve the system uptime seconds.uptime
utility to retrieve the system uptime seconds.kstat
function to retrieve the system uptime seconds.uuid
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the system product unique identifier.
Resolution:
/sys/class/dmi/id/product_uuid
to retrieve the system product unique identifier.smbios
utility to retrieve the system product unique identifier.Caveats:
xendomains
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return a list of comma-separated active Xen domain names.
Resolution:
xen
structured fact.Caveats:
zone_<name>_brand
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the brand for the Solaris zone.
Resolution:
zoneadm
utility to retrieve the brand for the Solaris zone.Caveats:
zoneadm
utility must be present.zone_<name>_iptype
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the IP type for the Solaris zone.
Resolution:
zoneadm
utility to retrieve the IP type for the Solaris zone.Caveats:
zoneadm
utility must be present.zone_<name>_name
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the name for the Solaris zone.
Resolution:
zoneadm
utility to retrieve the name for the Solaris zone.Caveats:
zoneadm
utility must be present.zone_<name>_uuid
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the unique identifier for the Solaris zone.
Resolution:
zoneadm
utility to retrieve the unique identifier for the Solaris zone.Caveats:
zoneadm
utility must be present.zone_<name>_id
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the zone identifier for the Solaris zone.
Resolution:
zoneadm
utility to retrieve the zone identifier for the Solaris zone.Caveats:
zoneadm
utility must be present.zone_<name>_path
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the zone path for the Solaris zone.
Resolution:
zoneadm
utility to retrieve the zone path for the Solaris zone.Caveats:
zoneadm
utility must be present.zone_<name>_status
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the zone state for the Solaris zone.
Resolution:
zoneadm
utility to retrieve the zone state for the Solaris zone.Caveats:
zoneadm
utility must be present.zonename
This legacy fact is hidden by default in Facter’s command-line output.
Type: string
Purpose:
Return the name of the current Solaris zone.
Resolution:
zonename
utility to retrieve the current zone name.Caveats:
zonename
utility must be present.zones
This legacy fact is hidden by default in Facter’s command-line output.
Type: integer
Purpose:
Return the count of Solaris zones.
Resolution:
zoneadm
utility to retrieve the count of Solaris zones.Caveats:
zoneadm
utility must be present.