summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/command_line/puppetmasterd
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-07-09 11:24:01 -0700
committerMarkus Roberts <Markus@reality.com>2010-07-09 12:43:00 -0700
commita07af2bb40f6894930ed910c66115556e10c0841 (patch)
tree38c70723112b2dc83547b6c9dba3488573ccb6f1 /lib/puppet/util/command_line/puppetmasterd
parent3c0059195fb2b1255f368d98021f4a99ecd121a6 (diff)
downloadpuppet-a07af2bb40f6894930ed910c66115556e10c0841.tar.gz
puppet-a07af2bb40f6894930ed910c66115556e10c0841.tar.xz
puppet-a07af2bb40f6894930ed910c66115556e10c0841.zip
[#4196] Move the docs into the source directory structure
Since it is no longer possible to find the running executable from the call stack, docs have to be kept somewhere in the source tree. Of course, at this point, we shouldn't be using RDoc::Usage at all.
Diffstat (limited to 'lib/puppet/util/command_line/puppetmasterd')
-rwxr-xr-xlib/puppet/util/command_line/puppetmasterd65
1 files changed, 65 insertions, 0 deletions
diff --git a/lib/puppet/util/command_line/puppetmasterd b/lib/puppet/util/command_line/puppetmasterd
new file mode 100755
index 000000000..c58612c0f
--- /dev/null
+++ b/lib/puppet/util/command_line/puppetmasterd
@@ -0,0 +1,65 @@
+#!/usr/bin/env ruby
+
+#
+# = Synopsis
+#
+# The central puppet server. Functions as a certificate authority by default.
+#
+# = Usage
+#
+# puppet master [-D|--daemonize|--no-daemonize] [-d|--debug] [-h|--help]
+# [-l|--logdest <file>|console|syslog] [-v|--verbose] [-V|--version]
+#
+# = Description
+#
+# This is the puppet central daemon.
+#
+# = Options
+#
+# Note that any configuration parameter that's valid in the configuration file
+# is also a valid long argument. For example, 'ssldir' is a valid configuration
+# parameter, so you can specify '--ssldir <directory>' as an argument.
+#
+# See the configuration file documentation at
+# http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference for
+# the full list of acceptable parameters. A commented list of all
+# configuration options can also be generated by running puppetmasterdd with
+# '--genconfig'.
+#
+# daemonize::
+# Send the process into the background. This is the default.
+#
+# no-daemonize::
+# Do not send the process into the background.
+#
+# debug::
+# Enable full debugging.
+#
+# help::
+# Print this help message.
+#
+# logdest::
+# Where to send messages. Choose between syslog, the console, and a log file.
+# Defaults to sending messages to syslog, or the console
+# if debugging or verbosity is enabled.
+#
+# verbose::
+# Enable verbosity.
+#
+# version::
+# Print the puppet version number and exit.
+#
+# = Example
+#
+# puppet master
+#
+# = Author
+#
+# Luke Kanies
+#
+# = Copyright
+#
+# Copyright (c) 2005 Reductive Labs, LLC
+# Licensed under the GNU Public License
+
+#Puppet::Application[:master].run