add doc about manifests and environment

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-02 11:13:58 +01:00
parent 63a0e8184d
commit f8a150779e
2 changed files with 65 additions and 0 deletions

View file

@ -0,0 +1,32 @@
cdist-environment(7)
====================
Nico Schottelius <nico-cdist--@--schottelius.org>
NAME
----
cdist-environment - Which environment cdist sets up
DESCRIPTION
-----------
PREFIXES
--------
These prefixes are supposed to be used. If you write a new type, you
should stick to these conventions.
- __: All variables setup by cdist are prefixed with a double _
- __core: Variables setup by the cdist core
- __<type>_<name>: Variable <name> setup by type <type>
EXAPMLES
--------
COPYING
-------
Copyright \(C) 2010 Nico Schottelius. Free use of this software is
granted under the terms of the GNU General Public License version 3 (GPLv3).

View file

@ -0,0 +1,33 @@
cdist-manifests(7)
==================
Nico Schottelius <nico-cdist--@--schottelius.org>
NAME
----
cdist-manifests - Map configuration to hosts
DESCRIPTION
-----------
Using the available types and shell language, you can create mappings of what
should be configured on a host.
ENVIRONMENT
-----------
The following variables are available in manifests:
- __{explorer|fact}_{name}
- __core_hostname: Hostname that we are deploying to
- __core_localhostname: Hostname that we are deploying from
EXAPMLES
--------
COPYING
-------
Copyright \(C) 2010 Nico Schottelius. Free use of this software is
granted under the terms of the GNU General Public License version 3 (GPLv3).