[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, master, updated. debian/1.5.6-2-3-g818d46d

Stig Sandbeck Mathisen ssm at fnord.no
Thu Dec 24 23:44:44 UTC 2009


The following commit has been merged in the master branch:
commit 818d46ddb47cfa4f35f56da4572f3cf6f0a09052
Author: Stig Sandbeck Mathisen <ssm at fnord.no>
Date:   Fri Dec 25 00:44:56 2009 +0100

    Add manpage for facter (Closes: #377123)

diff --git a/debian/changelog b/debian/changelog
index 6ee015c..074ab9a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,7 +8,10 @@ facter (1.5.6-3) UNRELEASED; urgency=low
   [ Andrew Pollock ]
   * Recommend pciutils instead of depending on it (closes: #545866)
 
- -- Andrew Pollock <apollock at debian.org>  Wed, 09 Sep 2009 22:53:11 -0700
+  [ Stig Sandbeck Mathisen ]
+  * Add manpage for facter (Closes: #377123)
+
+ -- Stig Sandbeck Mathisen <ssm at debian.org>  Fri, 25 Dec 2009 00:41:25 +0100
 
 facter (1.5.6-2) unstable; urgency=low
 
diff --git a/debian/facter.8 b/debian/facter.8
new file mode 100644
index 0000000..1c64c8b
--- /dev/null
+++ b/debian/facter.8
@@ -0,0 +1,93 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" We want the .URL macro
+.mso www.tmac
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH FACTER SECTION "December 25, 2009"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+facter \- Collect and display facts about the system
+.SH SYNOPSIS
+.B facter
+.RI [ options ]
+.RI [ fact ]
+.RI ...
+.SH DESCRIPTION
+.B facter
+collects and displays facts about the current system.
+.PP
+The library behind
+.B facter
+is easy to expand, making
+.B facter
+an easy way to collect information about a system from within the
+shell or within Ruby.
+.PP
+If no facts are specifically asked for, then all facts will be
+returned.
+
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+.TP
+.B \-\-help
+Show summary of options.
+.TP
+.B \-\-version
+Show version of program.
+.TP
+.B \-\-puppet
+Load the Puppet libraries, thus allowing Facter to load Puppet-specific facts.
+.TP
+.B \-\-debug
+Enable debugging.
+.TP
+.B \-\-yaml
+Emit facts in YAML format.
+
+.SH EXAMPLES
+.BI facter
+Display a list of all facts
+.TP
+.BI facter \ kernel
+Display the
+.I kernel
+fact
+.SH SEE ALSO
+.BR puppetd (8),
+.BR puppetmasterd (8),
+.br
+.URL http://reductivelabs.com/products/facter/ "The facter homepage"
+.SH BUGS
+.URL http://projects.reductivelabs.com/issues/1365 "Reductivelabs issue 1365"
+.br
+facter can display a single fact only if that fact is generated by a
+file with the same name as the fact.  The
+.I kernel
+fact resides in the
+.I kernel.rb
+file, and will work, but the facts
+.I lsbdistcodename,
+.I lsbdistid,
+.I lsbdistrelease,
+reside in the
+.I lsb.rb
+file, and will therefore not work as single facts.
+.SH AUTHOR
+facter was written by Luke Kanies
+.PP
+This manual page was written by Stig Sandbeck Mathisen <ssm at debian.org>,
+for the Debian project (and may be used by others).

-- 
Packaging of Facter for debian



More information about the Pkg-puppet-devel mailing list