
pfacter - Collect and display facts about the system

pfacter [option]... [fact] [fact]...

Print debugging information while working.
Display a short usage synopsis.
Display the current version/release of pfacter.
Write any new or changed host facts to LDAP. Requires that either a configuration file be specified, or a username, password, and server address be provided on the command line.
The following flags are used in conjunction with the --write option:
The file containing configuration information (username, password, and LDAP server address). Format is:
$username: "pfacter"
$password: "pf4ct3r"
$server: "ldap.company.com"
If you the configfile option it is also possible to specify multiple LDAP servers to attempt binds against. Simple change the format to:
@server: "ldap1.company.com ldap2.company.com ldap3.company.com"
...and Net::LDAP will attempt to bind to each host in order until a successful connection is made. This is not possible if the server is specified on the command line.
The configfile flag is the most secure (and preferred) method for storing connection and authentication information. It is however possible to pass configuration information via the command line with the following three flags:
The name of the LDAP user to bind as.
Password.
The IP address or name of the LDAP server.
Refer to the examples for more information regarding the syntax/use of the username, password, and server flags.
If not specified, the base DN is guessed based on the domain.
Connect securely (with SSL, obviously) to the LDAP server.
Print all output in XML format.
Print all output in YAML format.

Print information about the kernel, kernel release, and kernel version.
Print all facts and write any changes to LDAP. Uses the authentication information stored in /etc/pfacter.conf.
Print IP address and MAC address facts. Write any changes to LDAP using the specified connection and authentication information. Use SSL.

Scott Schneider <scott.schneider@vanderbilt.edu>