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

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-19 23:36:58 +01:00
parent e57ec32623
commit 5472e06cbe
2 changed files with 8 additions and 1 deletions

View File

@ -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::

View File

@ -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.