diff options
author | James Turnbull <james@lovedthanlost.net> | 2010-08-28 09:55:52 +1000 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2010-08-28 09:55:52 +1000 |
commit | ca2da36988c4d9fb2afbfc3f15c295df9b8cd05f (patch) | |
tree | 5a54ce4cf33017b69f0e17388c5547e998ff04c5 | |
parent | 244745eb7fb493e2efa535d5482ed6d8db81dda0 (diff) | |
download | facter-ca2da36988c4d9fb2afbfc3f15c295df9b8cd05f.tar.gz facter-ca2da36988c4d9fb2afbfc3f15c295df9b8cd05f.tar.xz facter-ca2da36988c4d9fb2afbfc3f15c295df9b8cd05f.zip |
Updated install.rb and created man page
-rwxr-xr-x | install.rb | 6 | ||||
-rw-r--r-- | man/man8/facter.8 | 54 |
2 files changed, 54 insertions, 6 deletions
@@ -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. +.\" +. |