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.