| 
									
										
										
										
											2011-03-09 09:52:43 +01:00
										 |  |  | #!/bin/sh
 | 
					
						
							|  |  |  | # | 
					
						
							| 
									
										
										
										
											2014-04-12 19:42:37 +02:00
										 |  |  | # 2010-2014 Nico Schottelius (nico-cdist at schottelius.org) | 
					
						
							| 
									
										
										
										
											2014-03-20 18:53:19 +01:00
										 |  |  | # 2014      Daniel Heule     (hda at sfs.biz) | 
					
						
							| 
									
										
										
										
											2011-03-09 09:52:43 +01:00
										 |  |  | # | 
					
						
							|  |  |  | # This file is part of cdist. | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # cdist is free software: you can redistribute it and/or modify | 
					
						
							|  |  |  | # it under the terms of the GNU General Public License as published by | 
					
						
							|  |  |  | # the Free Software Foundation, either version 3 of the License, or | 
					
						
							|  |  |  | # (at your option) any later version. | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # cdist is distributed in the hope that it will be useful, | 
					
						
							|  |  |  | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 
					
						
							|  |  |  | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
					
						
							|  |  |  | # GNU General Public License for more details. | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # You should have received a copy of the GNU General Public License | 
					
						
							|  |  |  | # along with cdist. If not, see <http://www.gnu.org/licenses/>. | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Generate manpage that lists available types | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | __cdist_pwd="$(pwd -P)" | 
					
						
							|  |  |  | __cdist_mydir="${0%/*}"; | 
					
						
							|  |  |  | __cdist_abs_mydir="$(cd "$__cdist_mydir" && pwd -P)" | 
					
						
							|  |  |  | __cdist_myname=${0##*/}; | 
					
						
							|  |  |  | __cdist_abs_myname="$__cdist_abs_mydir/$__cdist_myname" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | filename="${__cdist_myname%.sh}" | 
					
						
							| 
									
										
										
										
											2011-04-01 10:47:09 +02:00
										 |  |  | dest="$__cdist_abs_mydir/man7/$filename" | 
					
						
							| 
									
										
										
										
											2011-03-09 09:52:43 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | cd "$__cdist_abs_mydir" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-03-09 10:01:14 +01:00
										 |  |  | exec > "$dest" | 
					
						
							| 
									
										
										
										
											2011-03-09 09:52:43 +01:00
										 |  |  | cat << eof  | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | cdist-reference(7) | 
					
						
							|  |  |  | ================== | 
					
						
							|  |  |  | Nico Schottelius <nico-cdist--@--schottelius.org> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | NAME | 
					
						
							|  |  |  | ---- | 
					
						
							| 
									
										
										
										
											2011-03-20 02:57:49 +01:00
										 |  |  | cdist-reference - Variable, path and type reference for cdist | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-05-10 16:44:48 +02:00
										 |  |  | EXPLORERS | 
					
						
							|  |  |  | --------- | 
					
						
							| 
									
										
										
										
											2012-01-09 16:29:28 +01:00
										 |  |  | The following global explorers are available: | 
					
						
							| 
									
										
										
										
											2011-05-10 16:44:48 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | eof | 
					
						
							|  |  |  | ( | 
					
						
							| 
									
										
										
										
											2012-10-29 23:28:27 +01:00
										 |  |  |     cd ../../cdist/conf/explorer | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     for explorer in *; do | 
					
						
							|  |  |  |        echo "- $explorer" | 
					
						
							|  |  |  |     done | 
					
						
							| 
									
										
										
										
											2011-05-10 16:44:48 +02:00
										 |  |  | ) | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-05-10 16:44:48 +02:00
										 |  |  | cat << eof  | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | PATHS | 
					
						
							|  |  |  | ----- | 
					
						
							| 
									
										
										
										
											2012-12-09 14:41:50 -08:00
										 |  |  | \$HOME/.cdist:: | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  |     The standard cdist configuration directory relative to your home directory | 
					
						
							|  |  |  |     This is usually the place you want to store your site specific configuration | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | cdist/conf/:: | 
					
						
							|  |  |  |     The distribution configuration directory | 
					
						
							|  |  |  |     This contains types and explorers to be used | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | confdir:: | 
					
						
							|  |  |  |     Cdist will use all available configuration directories and create | 
					
						
							|  |  |  |     a temporary confdir containing links to the real configuration directories. | 
					
						
							|  |  |  |     This way it is possible to merge configuration directories. | 
					
						
							| 
									
										
										
										
											2012-12-09 14:41:50 -08:00
										 |  |  |     By default it consists of everything in \$HOME/.cdist and cdist/conf/. | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  |     For more details see cdist(1) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | confdir/manifest/init:: | 
					
						
							| 
									
										
										
										
											2012-09-21 20:23:03 +02:00
										 |  |  |     This is the central entry point. | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     It is an executable (+x bit set) shell script that can use | 
					
						
							|  |  |  |     values from the explorers to decide which configuration to create | 
					
						
							|  |  |  |     for the specified target host. | 
					
						
							| 
									
										
										
										
											2012-09-21 20:23:03 +02:00
										 |  |  |     Its intent is to used to define mapping from configurations to hosts. | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | confdir/manifest/*:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     All other files in this directory are not directly used by cdist, but you | 
					
						
							| 
									
										
										
										
											2015-05-19 11:58:50 +02:00
										 |  |  |     can separate configuration mappings, if you have a lot of code in the | 
					
						
							| 
									
										
										
										
											2012-09-21 20:23:03 +02:00
										 |  |  |     conf/manifest/init file. This may also be helpful to have different admins | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     maintain different groups of hosts. | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | confdir/explorer/<name>:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Contains explorers to be run on the target hosts, see cdist-explorer(7). | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | confdir/type/:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Contains all available types, which are used to provide | 
					
						
							|  |  |  |     some kind of functionality. See cdist-type(7). | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | confdir/type/<name>/:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Home of the type <name>. | 
					
						
							|  |  |  |     This directory is referenced by the variable __type (see below). | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | confdir/type/<name>/man.text:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Manpage in Asciidoc format (required for inclusion into upstream) | 
					
						
							| 
									
										
										
										
											2011-03-09 13:06:23 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | confdir/type/<name>/manifest:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Used to generate additional objects from a type. | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | confdir/type/<name>/gencode-local:: | 
					
						
							| 
									
										
										
										
											2012-09-21 20:23:03 +02:00
										 |  |  |     Used to generate code to be executed on the source host | 
					
						
							| 
									
										
										
										
											2011-03-19 23:36:58 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | confdir/type/<name>/gencode-remote:: | 
					
						
							| 
									
										
										
										
											2012-09-21 20:23:03 +02:00
										 |  |  |     Used to generate code to be executed on the target host | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | confdir/type/<name>/parameter/required:: | 
					
						
							| 
									
										
										
										
											2015-05-19 11:58:50 +02:00
										 |  |  |     Parameters required by type, \n separated list. | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | confdir/type/<name>/parameter/optional:: | 
					
						
							| 
									
										
										
										
											2015-05-19 11:58:50 +02:00
										 |  |  |     Parameters optionally accepted by type, \n separated list. | 
					
						
							| 
									
										
										
										
											2012-02-16 10:17:09 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-09-04 22:23:01 +02:00
										 |  |  | confdir/type/<name>/parameter/default/*:: | 
					
						
							|  |  |  |     Default values for optional parameters. | 
					
						
							|  |  |  |     Assuming an optional parameter name of 'foo', it's default value would | 
					
						
							|  |  |  |     be read from the file confdir/type/<name>/parameter/default/foo. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | confdir/type/<name>/parameter/boolean:: | 
					
						
							| 
									
										
										
										
											2015-05-19 11:58:50 +02:00
										 |  |  |     Boolean parameters accepted by type, \n separated list. | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | confdir/type/<name>/explorer:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Location of the type specific explorers. | 
					
						
							|  |  |  |     This directory is referenced by the variable __type_explorer (see below). | 
					
						
							|  |  |  |     See cdist-explorer(7). | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | confdir/type/<name>/files:: | 
					
						
							|  |  |  |     This directory is reserved for user data and will not be used | 
					
						
							| 
									
										
										
										
											2014-01-27 14:15:41 +01:00
										 |  |  |     by cdist at any time. It can be used for storing supplementary | 
					
						
							|  |  |  |     files (like scripts to act as a template or configuration files). | 
					
						
							| 
									
										
										
										
											2012-12-09 14:26:11 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-03-09 09:52:43 +01:00
										 |  |  | out/:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     This directory contains output of cdist and is usually located | 
					
						
							|  |  |  |     in a temporary directory and thus will be removed after the run. | 
					
						
							|  |  |  |     This directory is referenced by the variable __global (see below). | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | out/explorer:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Output of general explorers. | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | out/object:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Objects created for the host. | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | out/object/<object>:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Contains all object specific information. | 
					
						
							|  |  |  |     This directory is referenced by the variable __object (see below). | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | out/object/<object>/explorers:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Output of type specific explorers, per object. | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-03-09 09:52:43 +01:00
										 |  |  | TYPES | 
					
						
							|  |  |  | ----- | 
					
						
							| 
									
										
										
										
											2011-04-05 21:08:09 +02:00
										 |  |  | The following types are available: | 
					
						
							| 
									
										
										
										
											2011-04-06 09:32:11 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-04-05 21:08:09 +02:00
										 |  |  | eof | 
					
						
							| 
									
										
										
										
											2014-03-20 18:53:19 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-03-20 19:04:09 +01:00
										 |  |  | for type in man7/cdist-type__*.text; do | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     no_dir="${type#man7/}"; | 
					
						
							|  |  |  |     no_type="${no_dir#cdist-type}"; | 
					
						
							| 
									
										
										
										
											2014-03-20 19:04:09 +01:00
										 |  |  |     name="${no_type%.text}"; | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     name_no_underline="$(echo $name | sed 's/^__/\\__/g')" | 
					
						
							| 
									
										
										
										
											2014-03-20 19:04:09 +01:00
										 |  |  |     man="${no_dir%.text}(7)" | 
					
						
							| 
									
										
										
										
											2011-04-06 09:32:11 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     echo "- $name_no_underline" "($man)" | 
					
						
							| 
									
										
										
										
											2011-04-05 21:08:09 +02:00
										 |  |  | done | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | cat << eof | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-06-17 14:14:32 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-23 13:49:02 +02:00
										 |  |  | OBJECTS | 
					
						
							|  |  |  | ------- | 
					
						
							|  |  |  | For object to object communication and tests, the following paths are | 
					
						
							|  |  |  | usable within a object directory: | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-01-27 14:15:41 +01:00
										 |  |  | files:: | 
					
						
							|  |  |  |     This directory is reserved for user data and will not be used | 
					
						
							|  |  |  |     by cdist at any time. It can be used freely by the type  | 
					
						
							|  |  |  |     (for instance to store template results). | 
					
						
							| 
									
										
										
										
											2011-09-23 13:49:02 +02:00
										 |  |  | changed:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     This empty file exists in an object directory, if the object has | 
					
						
							|  |  |  |     code to be excuted (either remote or local) | 
					
						
							| 
									
										
										
										
											2014-01-27 14:15:41 +01:00
										 |  |  | stdin:: | 
					
						
							|  |  |  |     This file exists and contains data, if data was provided on stdin  | 
					
						
							|  |  |  |     when the type was called. | 
					
						
							| 
									
										
										
										
											2011-09-23 13:49:02 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-02-05 20:50:59 +01:00
										 |  |  | ENVIRONMENT VARIABLES (FOR READING) | 
					
						
							|  |  |  | ----------------------------------- | 
					
						
							|  |  |  | The following environment variables are exported by cdist: | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | __explorer:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Directory that contains all global explorers. | 
					
						
							| 
									
										
										
										
											2013-08-07 21:12:21 +02:00
										 |  |  |     Available for: initial manifest, explorer, type explorer, shell | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | __manifest:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Directory that contains the initial manifest. | 
					
						
							| 
									
										
										
										
											2013-08-07 21:12:21 +02:00
										 |  |  |     Available for: initial manifest, type manifest, shell | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | __global:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Directory that contains generic output like explorer. | 
					
						
							| 
									
										
										
										
											2013-08-07 21:12:21 +02:00
										 |  |  |     Available for: initial manifest, type manifest, type gencode, shell | 
					
						
							| 
									
										
										
										
											2013-12-03 15:41:43 +01:00
										 |  |  | __messages_in:: | 
					
						
							| 
									
										
										
										
											2014-09-21 11:53:04 +01:00
										 |  |  |     File to read messages from. | 
					
						
							| 
									
										
										
										
											2013-12-03 15:41:43 +01:00
										 |  |  |     Available for: initial manifest, type manifest, type gencode | 
					
						
							|  |  |  | __messages_out:: | 
					
						
							| 
									
										
										
										
											2014-09-21 11:53:04 +01:00
										 |  |  |     File to write messages. | 
					
						
							| 
									
										
										
										
											2013-12-03 15:41:43 +01:00
										 |  |  |     Available for: initial manifest, type manifest, type gencode | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | __object:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Directory that contains the current object. | 
					
						
							| 
									
										
										
										
											2014-03-20 18:53:19 +01:00
										 |  |  |     Available for: type manifest, type explorer, type gencode and code scripts | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | __object_id:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     The type unique object id. | 
					
						
							| 
									
										
										
										
											2014-03-20 18:53:19 +01:00
										 |  |  |     Available for: type manifest, type explorer, type gencode and code scripts | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Note: The leading and the trailing "/" will always be stripped (caused by | 
					
						
							|  |  |  |     the filesystem database and ensured by the core). | 
					
						
							|  |  |  |     Note: Double slashes ("//") will not be fixed and result in an error. | 
					
						
							| 
									
										
										
										
											2011-10-19 15:19:08 +02:00
										 |  |  | __object_name:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     The full qualified name of the current object. | 
					
						
							|  |  |  |     Available for: type manifest, type explorer, type gencode | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | __target_host:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     The host we are deploying to. | 
					
						
							| 
									
										
										
										
											2013-08-07 21:12:21 +02:00
										 |  |  |     Available for: explorer, initial manifest, type explorer, type manifest, type gencode, shell | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | __type:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Path to the current type. | 
					
						
							|  |  |  |     Available for: type manifest, type gencode | 
					
						
							| 
									
										
										
										
											2011-06-17 14:29:22 +02:00
										 |  |  | __type_explorer:: | 
					
						
							| 
									
										
										
										
											2012-02-13 11:30:11 +01:00
										 |  |  |     Directory that contains the type explorers. | 
					
						
							|  |  |  |     Available for: type explorer | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-02-05 20:50:59 +01:00
										 |  |  | ENVIRONMENT VARIABLES (FOR WRITING) | 
					
						
							|  |  |  | ----------------------------------- | 
					
						
							|  |  |  | The following environment variables influence the behaviour of cdist: | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-02-05 20:52:35 +01:00
										 |  |  | require:: | 
					
						
							|  |  |  |     Setup dependencies between objects (see cdist-manifest(7)) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-04-12 19:41:39 +02:00
										 |  |  | CDIST_LOCAL_SHELL:: | 
					
						
							| 
									
										
										
										
											2014-04-12 19:42:37 +02:00
										 |  |  |     Use this shell locally instead of /bin/sh to execute scripts | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | CDIST_REMOTE_SHELL:: | 
					
						
							|  |  |  |     Use this shell remotely instead of /bin/sh to execute scripts | 
					
						
							| 
									
										
										
										
											2014-04-12 19:41:39 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-02-12 10:31:46 +01:00
										 |  |  | CDIST_OVERRIDE:: | 
					
						
							| 
									
										
										
										
											2014-02-05 20:50:59 +01:00
										 |  |  |     Allow overwriting type parameters (see cdist-manifest(7)) | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-02-08 00:14:42 +01:00
										 |  |  | CDIST_ORDER_DEPENDENCY:: | 
					
						
							|  |  |  |     Create dependencies based on the execution order (see cdist-manifest(7)) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | SEE ALSO | 
					
						
							|  |  |  | -------- | 
					
						
							| 
									
										
										
										
											2012-01-17 23:53:58 +01:00
										 |  |  | - cdist(1) | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | COPYING | 
					
						
							|  |  |  | ------- | 
					
						
							| 
									
										
										
										
											2014-02-08 00:14:42 +01:00
										 |  |  | Copyright \(C) 2011-2014 Nico Schottelius. Free use of this software is | 
					
						
							| 
									
										
										
										
											2011-03-09 09:34:53 +01:00
										 |  |  | granted under the terms of the GNU General Public License version 3 (GPLv3). | 
					
						
							| 
									
										
										
										
											2011-03-09 09:52:43 +01:00
										 |  |  | eof |