[DOC] add references to gencode-local and gencode-remote

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.3
Nico Schottelius 14 years ago
parent e57ec32623
commit 5472e06cbe
  1. 5
      doc/man/cdist-reference.text.sh
  2. 4
      doc/man/cdist-type.text

@ -89,7 +89,10 @@ conf/type/<name>/man.text::
conf/type/<name>/manifest::
Used to generate additional objects from a type.
conf/type/<name>/gencode::
conf/type/<name>/gencode-local::
Used to generate code to be executed on the server.
conf/type/<name>/gencode-remote::
Used to generate code to be executed on the client.
conf/type/<name>/parameters/required::

@ -155,6 +155,10 @@ fi
WRITING THE GENCODE SCRIPT
--------------------------
There are two gencode scripts: gencode-local and gencode-remote.
The output of gencode-local is executed locally, whereas
the output of gencode-remote is executed on the target.
The gencode script can make use of the parameters, the global explorers
and the type specific explorers. The output (stdout) of this script is
saved by cdist and will be executed on the target.

Loading…
Cancel
Save