From a4c0b3df1fb23d02b7eaaf1c32be93cbdf764ec1 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 8 Apr 2011 10:56:53 +0200 Subject: [PATCH] [DOC] explain and document __cdist_tmp_base_dir Signed-off-by: Nico Schottelius --- doc/man/man1/cdist-config.text | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/man/man1/cdist-config.text b/doc/man/man1/cdist-config.text index 9d147988..0c8b0735 100644 --- a/doc/man/man1/cdist-config.text +++ b/doc/man/man1/cdist-config.text @@ -15,6 +15,28 @@ types, manifests, etc. Generally speaking, it's just usable from within the core and is only of interest for cdist-developers. +ENVIRONMENT VARIABLES +--------------------- +The following list contains environment variables that are known +to be changed by users in various situations. To change the variable, +use your current shell and export it, so all cdist-binaries know about it. + +__cdist_tmp_base_dir:: + Normally this points to /tmp. In case /tmp is not suitable for + cdist (i.e. has noexec flag setup) you can change this variable + to point to a better location. + + +EXAMPLES +-------- + +If /tmp has the noexec flag, you can use $HOME/.tmp for instance: + +-------------------------------------------------------------------------------- +export __cdist_tmp_base_dir=$HOME/.tmp +-------------------------------------------------------------------------------- + + SEE ALSO -------- cdist(7)