facter --help |
Commands: |
facter --list-block-groups # List block groups |
facter --list-cache-groups # List cache groups |
facter [options] [query] [query] [...] # |
facter help [COMMAND] # Describe available commands or one specific command |
|
Options: |
[--color], [--no-color] # Enable color output. |
-c, [--config=CONFIG] # The location of the config file. |
[--custom-dir=CUSTOM_DIR] # A directory to use for custom facts. |
-d, [--debug], [--no-debug] # Enable debug output. |
[--external-dir=EXTERNAL_DIR] # A directory to use for external facts. |
[--hocon], [--no-hocon] # Output in Hocon format. |
-j, [--json], [--no-json] # Output in JSON format. |
[--list-block-groups], [--no-list-block-groups] # List the names of all blockable fact groups. |
[--list-cache-groups], [--no-list-cache-groups] # List the names of all cacheable fact groups. |
-l, [--log-level=LOG_LEVEL] # Set logging level. Supported levels are: none, trace, debug, info, warn, error, and fatal. |
[--block], [--no-block] # Disable fact blocking. |
[--cache], [--no-cache] # Disable loading and refreshing facts from the cache |
[--custom-facts], [--no-custom-facts] # Disable custom facts. |
[--external-facts], [--no-external-facts] # Disable external facts. |
[--ruby], [--no-ruby] # Disable loading Ruby, facts requiring Ruby, and custom facts. |
[--trace], [--no-trace] # Enable backtraces for custom facts. |
[--verbose], [--no-verbose] # Enable verbose (info) output. |
[--show-legacy], [--no-show-legacy] # Show legacy facts when querying all facts. |
-y, [--yaml], [--no-yaml] # Output in YAML format. |
[--strict], [--no-strict] # Enable more aggressive error reporting. |
-p, [--puppet], [--no-puppet] # Load the Puppet libraries, thus allowing Facter to load Puppet-specific facts.
|