1 .\" generated with Ronn/v0.7.3
2 .\" http://github.com/rtomayko/ronn/tree/0.7.3
4 .TH "FACTER" "8" "February 2014" "" ""
7 \fBfacter\fR \- Gather system information
10 Collect and display facts about the system\.
16 facter [\-h|\-\-help] [\-t|\-\-timing] [\-d|\-\-debug] [\-p|\-\-puppet] [\-v|\-\-version]
17 [\-y|\-\-yaml] [\-j|\-\-json] [\-\-plaintext] [\-\-external\-dir DIR] [\-\-no\-external\-dir]
18 [fact] [fact] [\.\.\.]
23 Collect and display facts about the current system\. The library behind Facter is easy to expand, making Facter an easy way to collect information about a system from within the shell or within Ruby\.
26 If no facts are specifically asked for, then all facts will be returned\.
37 blockdevices => sda,sr0
38 domain => example\.com
39 fqdn => puppet\.example\.com
40 hardwaremodel => x86_64
48 Display a single fact:
68 $ facter \-\-json architecture kernel hardwaremodel
70 "architecture": "amd64",
72 "hardwaremodel": "x86_64"
83 Copyright (c) 2011\-2014 Puppet Labs, Inc Licensed under the Apache 2\.0 license
89 \-y, \-\-yaml Emit facts in YAML format\.
90 \-j, \-\-json Emit facts in JSON format\.
91 \-\-plaintext Emit facts in plaintext format\.
92 \-\-trace Enable backtraces\.
93 \-\-external\-dir DIR The directory to use for external facts\.
94 \-\-no\-external\-dir Turn off external facts\.
95 \-d, \-\-debug Enable debugging\.
96 \-t, \-\-timing Enable timing\.
97 \-p, \-\-puppet Load the Puppet libraries, thus allowing Facter to load Puppet\-specific facts\.
98 \-v, \-\-version Print the version and exit\.
99 \-h, \-\-help Print this help message\.