~bkerensa/ubuntu/raring/puppet/new-upstream-release

« back to all changes in this revision

Viewing changes to lib/puppet/util/command_line/puppet

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-07-25 01:00:37 UTC
  • mfrom: (1.1.24 upstream) (3.1.25 sid)
  • Revision ID: james.westby@ubuntu.com-20110725010037-875vuxs10eboqgw3
Tags: 2.7.1-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - debian/puppetmaster-passenger.postinst: Use cacrl instead of hostcrl to
    set the location of the CRL in apache2 configuration. Fix apache2
    configuration on upgrade as well (LP: #641001)
  - move all puppet dependencies to puppet-common since all the code
    actually located in puppet-common.
  - move libagueas from a recommend to a dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
#
3
 
# = Synopsis
4
 
#
5
 
# Run a stand-alone +puppet+ manifest.
6
 
#
7
 
# = Usage
8
 
#
9
 
#   puppet apply [-h|--help] [-V|--version] [-d|--debug] [-v|--verbose] [-e|--execute]
10
 
#               [--detailed-exitcodes] [-l|--logdest <file>] [--apply catalog] <file>
11
 
#
12
 
# = Description
13
 
#
14
 
# This is the standalone puppet execution tool; use it to execute
15
 
# individual manifests that you write.  If you need to execute site-wide
16
 
# manifests, use 'puppet agent' and 'puppet master'.
17
 
#
18
 
# = Options
19
 
#
20
 
# Note that any configuration parameter that's valid in the configuration file
21
 
# is also a valid long argument.  For example, 'ssldir' is a valid configuration
22
 
# parameter, so you can specify '--ssldir <directory>' as an argument.
23
 
#
24
 
# See the configuration file documentation at
25
 
# http://docs.puppetlabs.com/references/stable/configuration.html for
26
 
# the full list of acceptable parameters. A commented list of all
27
 
# configuration options can also be generated by running puppet with
28
 
# '--genconfig'.
29
 
#
30
 
# debug::
31
 
#   Enable full debugging.
32
 
#
33
 
# detailed-exitcodes::
34
 
#   Provide transaction information via exit codes.  If this is enabled, an exit
35
 
#   code of '2' means there were changes, and an exit code of '4' means that there
36
 
#   were failures during the transaction.
37
 
#
38
 
# help::
39
 
#   Print this help message
40
 
#
41
 
# loadclasses::
42
 
#   Load any stored classes. 'puppet agent' caches configured classes (usually at
43
 
#   /etc/puppet/classes.txt), and setting this option causes all of those classes
44
 
#   to be set in your puppet manifest.
45
 
#
46
 
# logdest::
47
 
#   Where to send messages.  Choose between syslog, the console, and a log file.
48
 
#   Defaults to sending messages to the console.
49
 
#
50
 
# execute::
51
 
#   Execute a specific piece of Puppet code
52
 
#
53
 
# verbose::
54
 
#   Print extra information.
55
 
#
56
 
# apply::
57
 
#   Capability to apply JSON catalog (such as one generated with --compile on the Puppet master).
58
 
#   You can either specify a JSON catalog file or pipe in JSON from standard input.
59
 
#
60
 
# = Example
61
 
#
62
 
#   puppet -l /tmp/manifest.log manifest.pp
63
 
#
64
 
# = Author
65
 
#
66
 
# Luke Kanies
67
 
#
68
 
# = Copyright
69
 
#
70
 
# Copyright (c) 2005 Puppet Labs, LLC
71
 
# Licensed under the GNU Public License
72
 
 
73
 
#Puppet::Application[:apply].run