#!/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 ' 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