Facter
puppet.com
- Free plan
- Open source
- Windows
- macOS
- Linux
- API
- Self-hosted
What Facter is
Facter is a free command-line tool for collecting system information, including hardware details, network settings, and operating system type and version. Puppet uses it to gather information before requesting a catalog or compiling one with puppet apply. The tool includes core facts, both legacy and structured, although some facts do not apply to every system. Users can add custom facts in Ruby or use external facts that return static data or results from scripts and programs. Facts can be hashes or arrays, and Boolean, numeric, and structured values retain their types. Configuration can block fact groups or cache facts with time-to-live settings, which can help when collection is slow. Facts are available in Puppet manifests, and Puppet-specific facts can be loaded from the command line with --puppet. PuppetDB's API can be used to explore infrastructure facts or build search and reporting tools. Facter runs on Linux, macOS, and Windows and can be self-hosted. Legacy facts are omitted from default command-line output unless --show-legacy is used; Facter also does not create facter.conf automatically.
Who it suits
Facter suits administrators using Puppet who need to collect system facts or extend collection with custom and external facts. Ruby familiarity is useful for creating custom facts.
Good to know, and what to watch
- Collects hardware, network, and operating system information
- Supports custom Ruby and external facts
- Structured and numeric values retain their types
- Facts can be cached with time-to-live settings
- Some built-in facts do not apply to every system
- Custom-fact examples require Ruby familiarity
- Legacy facts are excluded from default output
- Facter does not create facter.conf automatically
Plans
Every plan and pricePuppet Core Commercial
Puppet Enterprise
Puppet Enterprise Advanced
Puppet Core Developer
Free plan
Getting started
- Open the Facter documentation website
- Install or run Facter on Linux, macOS, Windows, or a self-hosted system
- Run the command-line tool to collect built-in facts
- Add custom Ruby facts or external fact scripts if needed
- Configure blocked groups or fact caching when collection is slow
- Use facts in Puppet manifests or load Puppet-specific facts with --puppet
Limits to check
The free Puppet Core Developer plan is free for fewer than 25 nodes. Legacy facts are excluded from default command-line output, and Facter does not create facter.conf automatically.
The Club's review
Overview
Facter is a command-line utility for collecting hardware, network, and operating-system facts from managed machines. It is best suited to administrators already using Puppet or building repeatable infrastructure tooling. The free software is powerful and extensible, but its configuration-file workflow and Ruby-based customization make it a poor fit for casual, one-off system checks.
Key features
Facter's built-in core facts cover common machine characteristics, with both legacy and structured forms. Applicability varies by operating system, and legacy facts are intentionally omitted from normal command-line output unless you request --show-legacy. That keeps routine output cleaner while preserving access to older fields when compatibility requires them.
Custom facts can be written in Ruby, and a single fact can have multiple resolutions for determining its value. This is useful when different platforms or environments need different ways to derive the same property, but it places maintenance responsibility on people comfortable reading and supporting Ruby. External facts provide a less code-centric option for static values or data produced by an executable script or program.
Values can remain structured as hashes or arrays, while Puppet preserves Boolean and numeric types instead of converting every result to text. That matters when downstream manifests or tools need reliable types. Administrators can block fact groups and apply time-to-live caching, helping reduce delays when collection is expensive or repeatedly queried.
Facter supplies information to Puppet before a catalog request or a puppet apply compilation, and the resulting facts are available in Puppet manifests. The CLI can load Puppet-specific facts with --puppet. PuppetDB's API can then support tools that search and report on infrastructure facts, extending Facter's value beyond a single command invocation.
Windows coverage includes built-in disk and partition facts in Facter 4.21, gathered through Windows Management Instrumentation. This makes the utility more practical for mixed estates, although the exact set of available facts still depends on the host system.
Pricing
Facter itself is free, with no paid Facter plan. Puppet's associated commercial offerings are separate choices for teams that need broader Puppet capabilities: Puppet Core Developer costs nothing for fewer than 25 nodes; Puppet Core Commercial is custom-priced for 25 or more nodes; Puppet Enterprise and Puppet Enterprise Advanced are also custom-priced and require contacting sales. The free developer tier fits small development or evaluation environments, while larger managed estates should expect a commercial agreement rather than a published per-node price.
Platforms
Facter runs on Linux, macOS, Windows, and self-hosted deployments. Its command-line design suits servers and automation as well as administrator workstations, while self-hosting keeps collection inside environments that cannot rely on a hosted service.
Who it's for
Choose Facter when Puppet needs dependable machine facts, when infrastructure teams need custom or external data, or when structured values and collection caching are operational requirements. It is also a sensible foundation for teams exposing inventory through PuppetDB. Users who only want a quick graphical hardware summary, however, will find the command line, manual facter.conf creation, and Ruby extension model unnecessarily involved.
Pros and cons
Pros
- Deep Puppet integration: facts are available during catalog compilation and inside manifests, so collection directly informs configuration management.
- Flexible extension paths: Ruby custom facts, multiple resolutions, and executable-backed external facts cover varied infrastructure requirements.
- Type-preserving structured data: hashes, arrays, Booleans, and numbers remain usable as their native types.
- Collection controls: blocked groups and time-to-live caching can limit slow or unnecessary fact gathering.
- Broad deployment reach: Linux, macOS, Windows, and self-hosted operation support mixed environments.
Cons
- Manual configuration setup: Facter does not create facter.conf; users must create it themselves or manage it through a module.
- Ruby requirement for custom work: teams without Ruby experience face a steeper path to maintaining bespoke facts.
- System-dependent coverage: not every built-in fact applies on every operating system.
- Less suitable as a casual inspector: the CLI and Puppet-oriented workflow are more infrastructure-focused than consumer-friendly.
Alternatives
For a broader shortlist of system-information tools, see System Information Software. Choose HWMonitor instead when Windows or Android hardware-sensor monitoring is the priority and you prefer a dedicated monitor; its free Windows edition is supplemented by a $19.95 one-time PRO Standard plan. SIW is a Windows-focused option with a free Viewer and a 14-day trial version.
BelManage is the better direction for paid asset and configuration management across Linux, macOS, self-hosted, web, and Windows environments, with an on-premises plan at $10 per computer per year. hw-probe suits Linux and self-hosted users who want an open project that anonymously collects hardware details for collaborative troubleshooting.
ASTRA32 is a Windows choice with a free non-commercial tier. On macOS, EtreCheckPro offers free command-line diagnostics and optional paid upgrades. Fastfetch is a free MIT-licensed CLI with more than 75 information modules across Android, Linux, macOS, and Windows, while inxi is a free GPL-licensed Perl tool focused on GNU/Linux.
Verdict
Facter is the right choice for Puppet-centered administrators who need extensible, typed system facts that can feed manifests, catalogs, and infrastructure reporting. Its strongest advantage is that collection and configuration management share the same fact model. Look elsewhere if you need a polished standalone hardware viewer, want to avoid Ruby, or cannot accommodate manually managed configuration.
The verdict
Facter provides system facts for Puppet workflows and supports custom collection and caching. Users should account for its configuration-file setup and the Ruby knowledge needed for custom facts.
Questions people ask
Is Facter free?
Yes. Facter has a free plan. Puppet Core Developer is listed as free for fewer than 25 nodes.
Which platforms does Facter support?
It runs on Linux, macOS, Windows, and self-hosted environments.
Can Facter use custom facts?
Yes. Users can create custom facts with Ruby and provide external facts from static data or executable programs.
Does Facter work with Puppet?
Yes. Puppet uses Facter before catalog requests or puppet apply compilation, and facts are available in manifests.
Can Facter report Windows disk information?
Facter 4.21 added built-in Windows disk and partition facts using Windows Management Instrumentation.
What the maker publishes
- Acquisition news
- Perforce announced completion of its Puppet acquisition on May 18, 2022, with financial terms undisclosed. source
- API extensibility
- Resolvers gather data from commands, files or other system sources, while the framework formats and exposes those values through Facter’s Ruby APIs. source
- Built-in facts
- Facter ships with built-in core facts, including legacy and structured facts, though not all facts apply to every system. source
- Collected data
- The command-line tool gathers hardware details, network settings, operating-system type and version, hostname, IP address and other system information. source
- Command line
- Facter can be installed as a Ruby gem with the command gem install facter. source
- Company headquarters and size
- LinkedIn lists Perforce Puppet headquarters in Minneapolis, Minnesota and company size of 501–1,000 employees. source
- Company identity
- Puppet was created in 2005 by Luke Kanies and has been owned by Perforce since 2022. source
- Configuration
- Facter can be configured to block fact groups or cache facts with time-to-live settings; this can help when fact collection is slow. source
- Configuration file limit
- Facter does not create facter.conf automatically, so users must create it manually or manage it with a module. source
- Custom facts
- Users can add custom facts using Ruby, and a fact can have multiple resolutions for determining its value. source
- Custom facts
- Users can add custom facts with Ruby snippets on the primary Puppet server, distributed to clients through module plug-ins. source
- Documentation depth
- Official documentation covers CLI use, core facts, custom and external facts, structured facts and facter.conf configuration. source
- Enterprise trial allowance
- Puppet Enterprise can be run on 10 nodes at no charge with no stated time limit. source
- External facts
- Facter supports external facts that return static data or the result of an executable script or program. source
- External facts
- External facts may come from arbitrary executables, scripts or static structured-data files, allowing facts to be written in languages such as Perl, C or plain text. source
- Fact configuration
- The facter.conf file can cache or block fact groups and individual facts and controls global and command-line behavior. source
- Fact groups
- Facter 4 supports user-defined fact groups and dot notation for custom and external fact hierarchies. source
- Free node allowance
- Puppet Core has a free developer or user license for testing or development on a maximum of 25 nodes. source
- Granular caching
- Facter 4 supports blocking and caching at any level of a fact hierarchy, including individual nested values. source
- Independent pricing perception
- G2’s review summary places Puppet Enterprise’s perceived cost at the highest category, shown as four dollar signs, and reports an average implementation time of four months. source
- Latest release
- Facter 4.22.0 was released in September 2026 and constrains its JSON dependency to versions from 2.0 up to but excluding 4. source
- Legacy fact behavior
- Legacy facts are excluded from default command-line output and can be included with the --show-legacy option. source
- License
- Facter is open source and the repository identifies the Apache-2.0 license. source
- Limit: Capterra complexity
- Capterra reviewers repeatedly cite a steep learning curve and the complexity of Ruby-based development as drawbacks. source
Checked against the maker's pages on 14 Oct 2026.