From 5472e06cbe485be163faa86299910bd37b16bb21 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 19 Mar 2011 23:36:58 +0100 Subject: [PATCH] [DOC] add references to gencode-local and gencode-remote Signed-off-by: Nico Schottelius --- doc/man/cdist-reference.text.sh | 5 ++++- doc/man/cdist-type.text | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/man/cdist-reference.text.sh b/doc/man/cdist-reference.text.sh index f900e35e..8fdd831c 100755 --- a/doc/man/cdist-reference.text.sh +++ b/doc/man/cdist-reference.text.sh @@ -89,7 +89,10 @@ conf/type//man.text:: conf/type//manifest:: Used to generate additional objects from a type. -conf/type//gencode:: +conf/type//gencode-local:: + Used to generate code to be executed on the server. + +conf/type//gencode-remote:: Used to generate code to be executed on the client. conf/type//parameters/required:: diff --git a/doc/man/cdist-type.text b/doc/man/cdist-type.text index f8811a16..8d1b9ae4 100644 --- a/doc/man/cdist-type.text +++ b/doc/man/cdist-type.text @@ -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.