summaryrefslogtreecommitdiffstats
path: root/lib/puppet/application/master.rb
diff options
context:
space:
mode:
authornfagerlund <nick.fagerlund@gmail.com>2011-02-16 15:09:56 -0800
committernfagerlund <nick.fagerlund@gmail.com>2011-02-17 11:34:22 -0800
commitbd14ff5e1ea5bad3e1cba1fd19610f63158c5bc4 (patch)
tree61fb589bdadba96064c9e386c8292b5aa93207cb /lib/puppet/application/master.rb
parent768d9a1a796b631de7ec4da2e75ec52211716c9a (diff)
downloadpuppet-bd14ff5e1ea5bad3e1cba1fd19610f63158c5bc4.tar.gz
puppet-bd14ff5e1ea5bad3e1cba1fd19610f63158c5bc4.tar.xz
puppet-bd14ff5e1ea5bad3e1cba1fd19610f63158c5bc4.zip
(#1204) Fix --compile and --apply options
Forward-porting a fix from 2.6.x to the new help text locations.
Diffstat (limited to 'lib/puppet/application/master.rb')
-rw-r--r--lib/puppet/application/master.rb12
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/puppet/application/master.rb b/lib/puppet/application/master.rb
index 39af33dc8..f689b9e01 100644
--- a/lib/puppet/application/master.rb
+++ b/lib/puppet/application/master.rb
@@ -41,7 +41,7 @@ USAGE
-----
puppet master [-D|--daemonize|--no-daemonize] [-d|--debug] [-h|--help]
[-l|--logdest <file>|console|syslog] [-v|--verbose] [-V|--version]
- [--compile <nodename>] [--apply <catalog>]
+ [--compile <node-name>]
DESCRIPTION
@@ -89,14 +89,8 @@ with '--genconfig'.
Print the puppet version number and exit.
* --compile:
- Capability to compile a catalogue and output it in JSON from the
- Puppet master. Uses facts contained in the $vardir/yaml/ directory to
- compile the catalog.
-
-* --apply:
- Capability to apply JSON catalog (such as one generated with
- --compile). You can either specify a JSON file or pipe in JSON from
- standard input.
+ Compile a catalogue and output it in JSON from the puppet master. Uses
+ facts contained in the $vardir/yaml/ directory to compile the catalog.
EXAMPLE