Forward-porting a fix from 2.6.x to the new help text locations. Signed-off-by: nfagerlund <[email protected]> --- Local-branch: ticket/next/1204 lib/puppet/application/apply.rb | 7 ++++++- lib/puppet/application/master.rb | 12 +++--------- 2 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/lib/puppet/application/apply.rb b/lib/puppet/application/apply.rb index 37029cf..a1edf62 100644 --- a/lib/puppet/application/apply.rb +++ b/lib/puppet/application/apply.rb @@ -40,7 +40,8 @@ Applies a standalone Puppet manifest to the local system. USAGE ----- puppet apply [-h|--help] [-V|--version] [-d|--debug] [-v|--verbose] - [-e|--execute] [--detailed-exitcodes] [-l|--logdest <file>] <file> + [-e|--execute] [--detailed-exitcodes] [-l|--logdest <file>] + [--apply <catalog>] <file> DESCRIPTION @@ -98,6 +99,10 @@ configuration options can also be generated by running puppet with * --verbose: Print extra information. +* --apply: + Apply a JSON catalog (such as one generated with 'puppet master --compile'). You can + either specify a JSON file or pipe in JSON from standard input. + EXAMPLE ------- diff --git a/lib/puppet/application/master.rb b/lib/puppet/application/master.rb index 39af33d..f689b9e 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 -- 1.7.3.3 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
