diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/puppet/application/apply.rb | 7 | ||||
| -rw-r--r-- | 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 37029cfb5..a1edf6243 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 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 |
