summaryrefslogtreecommitdiffstats
path: root/sbin/puppetqd
blob: 56c82ca469ceebae51b998be7c44efee70d189bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/usr/bin/env ruby
# == Synopsis
#
# Retrieve serialized records from a queue and process them in order.
#
# = Usage
#
#   puppet queue [-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
#
#   puppet queue
#
# = Author
#
# Luke Kanies
#
# = Copyright
#
# Copyright (c) 2009 Reductive Labs, LLC
# Licensed under the GNU Public License

require 'puppet/application/queue'
Puppet::Application[:queue].run