summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-04-13 16:51:56 -0500
committerJames Turnbull <james@lovedthanlost.net>2009-04-22 14:39:38 +1000
commit444ae9f8341348b0b8163788ada35892bc98f562 (patch)
treea1cd2bfe9408bf57615538ad777bb38642933e00 /bin
parent22ae661263b9b42c3ad4d4d6dee3d3b1d1d2e25b (diff)
downloadpuppet-444ae9f8341348b0b8163788ada35892bc98f562.tar.gz
Adding puppetqd executable.
This uses the backported Application class, with a couple of backported monkey-patches so the class works as expected but in 0.24. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'bin')
-rw-r--r--bin/puppetqd53
1 files changed, 53 insertions, 0 deletions
diff --git a/bin/puppetqd b/bin/puppetqd
new file mode 100644
index 000000000..14a15b519
--- /dev/null
+++ b/bin/puppetqd
@@ -0,0 +1,53 @@
+#!/usr/bin/env ruby
+# == Synopsis
+#
+# Retrieve serialized records from a queue and process them in order.
+#
+# = Usage
+#
+# puppetqd [-d|--debug] [-v|--verbose]
+#
+# = Description
+#
+# This is a simple application that just processes entities in a queue as they
+# are recieved.
+#
+# = Options
+#
+# Note that any configuration parameter that's valid in the configuration file
+# is also a valid long argument. For example, 'server' is a valid configuration
+# parameter, so you can specify '--server <servername>' 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 puppetd with
+# '--genconfig'.
+#
+# debug::
+# Enable full debugging.
+#
+# help::
+# Print this help message
+#
+# verbose::
+# Turn on verbose reporting.
+#
+# version::
+# Print the puppet version number and exit.
+#
+# = Example
+#
+# puppetqd
+#
+# = Author
+#
+# Luke Kanies
+#
+# = Copyright
+#
+# Copyright (c) 2009 Reductive Labs, LLC
+# Licensed under the GNU Public License
+
+require 'puppet/application/puppetqd'
+Puppet::Application[:puppetqd].run