summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinstall.rb6
-rw-r--r--man/man8/facter.854
2 files changed, 54 insertions, 6 deletions
diff --git a/install.rb b/install.rb
index a40e292..bbf4007 100755
--- a/install.rb
+++ b/install.rb
@@ -316,12 +316,6 @@ def build_man(bins)
# Locate rst2man
rst2man = %x{which rst2man.py}
rst2man.chomp!
- # Create puppet.conf.8 man page
- %x{bin/puppetdoc --reference configuration > ./puppet.conf.rst}
- %x{#{rst2man} ./puppet.conf.rst ./man/man8/puppet.conf.8}
- File.unlink("./puppet.conf.rst")
-
- # Create binary man pages
bins.each do |bin|
b = bin.gsub( "bin/", "")
%x{#{bin} --help > ./#{b}.rst}
diff --git a/man/man8/facter.8 b/man/man8/facter.8
new file mode 100644
index 0000000..ff24b89
--- /dev/null
+++ b/man/man8/facter.8
@@ -0,0 +1,54 @@
+.TH "" "" ""
+.SH NAME
+ \-
+.\" Man page generated from reStructeredText.
+.
+.SH SYNOPSIS
+.sp
+Collect and display facts about the system.
+.SH USAGE
+.INDENT 0.0
+.INDENT 3.5
+.sp
+facter [\-d|\-\-debug] [\-h|\-\-help] [\-p|\-\-puppet] [\-v|\-\-version] [\-y|\-\-yaml] [fact] [fact] [...]
+.UNINDENT
+.UNINDENT
+.SH DESCRIPTION
+.sp
+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.
+.sp
+If no facts are specifically asked for, then all facts will be returned.
+.SH OPTIONS
+.sp
+debug: Enable debugging.
+.sp
+help: Print this help message
+.INDENT 0.0
+.TP
+.B puppet: Load the Puppet libraries, thus allowing Facter to load
+.
+Puppet\-specific facts.
+.UNINDENT
+.sp
+version: Print the version and exit.
+.sp
+yaml: Emit facts in YAML format.
+.SH EXAMPLE
+.INDENT 0.0
+.INDENT 3.5
+.sp
+facter kernel
+.UNINDENT
+.UNINDENT
+.SH AUTHOR
+.sp
+Luke Kanies
+.SH COPYRIGHT
+.sp
+Copyright (c) 2006 Reductive Labs, LLC Licensed under the GNU Public
+License
+.\" Generated by docutils manpage writer.
+.\"
+.