Provided by: facter-customfacts-plugin_1.1-0ubuntu3_all
NAME
fact-add - wrapper script for adding custom facts to facter
SYNOPSIS
fact-add FACT [VALUE]
DESCRIPTION
fact-add is a script that adds new facts with an optional value into facter. Note that facts are stored in /etc/facts where the filename is the new fact and the contents of the file is the current value of the fact. Facts created by fact-add can be deleted with fact-del. The FACT parameters is the new fact to be created. If a value is needed for the new fact the VALUE parameter is passed as well.
EXIT CODES
fact-add returns 0 on success and 1 otherwise.
SEE ALSO
facter(1) fact-del(1)
AUTHOR
This manpage and the utility were written by Juan L. Negron <juan@ubuntu.com> for Ubuntu systems (but may be used by others). Permission is granted to copy, distribute and/or modify this document and the utility under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation. The complete text of the GNU General Public License can be found in /usr/share/common- licenses/GPL on Debian/Ubuntu systems, or in /usr/share/doc/fedora-release-*/GPL on Fedora systems, or on the web at http://www.gnu.org/licenses/gpl.txt.