spacewalk/setup/Makefile.PL | 4 ++-
spacewalk/setup/bin/cobbler-setup | 43 ++++++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+), 1 deletion(-)
New commits:
commit 1be7cfebc07500e387a1a386248ed746e2619441
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Tue Aug 4 13:44:34 2009 +0200
490668 - add man page for cobbler-setup.
diff --git a/spacewalk/setup/Makefile.PL b/spacewalk/setup/Makefile.PL
index 78d318e..1197771 100644
--- a/spacewalk/setup/Makefile.PL
+++ b/spacewalk/setup/Makefile.PL
@@ -12,7 +12,9 @@ WriteMakefile(
PREREQ_PM => {
'Test::More' => 0,
},
- MAN1PODS => { 'lib/Spacewalk/Setup.pm' =>
'$(INST_MAN1DIR)/spacewalk-setup.$(MAN1EXT)' },
+ MAN1PODS => { 'lib/Spacewalk/Setup.pm' =>
'$(INST_MAN1DIR)/spacewalk-setup.$(MAN1EXT)',
+ 'bin/cobbler-setup' =>
'$(INST_MAN1DIR)/cobbler-setup.$(MAN1EXT)',
+ },
dist => { COMPRESS => 'gzip -9f', SUFFIX =>
'gz', },
clean => { FILES => 'Spacewalk-Setup-*' },
);
diff --git a/spacewalk/setup/bin/cobbler-setup b/spacewalk/setup/bin/cobbler-setup
index a08b6f3..0d7e3b2 100755
--- a/spacewalk/setup/bin/cobbler-setup
+++ b/spacewalk/setup/bin/cobbler-setup
@@ -91,3 +91,46 @@ def main():
if __name__=="__main__":
main()
+
+
+"""
+
+=head1 NAME
+
+cobbler-setup
+
+=head1 SYNOPSIS
+
+ cobbler-setup
+ cobbler-setup --enable-tftp=yes
+
+=head1 DESCRIPTION
+
+The B<cobbler-setup> program generates configuration files for cobbler
+in F</etc/cobbler>, based on templates in
+F</usr/share/cobbler/installer_templates>. It also offers to enable
+services needed for PXT (B<xinetd> and B<tftp>), unless
+prevented with B<--enable-tftp=no>.
+
+The tool is generally called automatically by Spacewalk's
+B<spacewalk-setup>.
+
+=head1 OPTIONS
+
+=over 4
+
+=item --enable-tftp=yes, --enable-tftp=no
+
+This option prevents B<cobbler-setup> from asking whether to setup the
+B<xinetd> and B<tftp> services. With B<yes>, the action will be done,
+with B<no> it will not.
+
+=back
+
+=head1 SEE ALSO
+
+spacewalk-setup(1)
+
+=cut
+
+"""
Show replies by date