forked from ungleich-public/cdist
complete cleanup of config-layout manpage
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
0ccb5ebcdb
commit
a3436bf775
1 changed files with 11 additions and 32 deletions
|
@ -3,7 +3,6 @@ cdist-config-layout(7)
|
||||||
Nico Schottelius <nico-cdist--@--schottelius.org>
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
NAME
|
NAME
|
||||||
----
|
----
|
||||||
cdist-config-layout - Usage of paths in cdist
|
cdist-config-layout - Usage of paths in cdist
|
||||||
|
@ -49,7 +48,17 @@ variables, see cdist-environment(7)).
|
||||||
be used in types to gather information about other hosts
|
be used in types to gather information about other hosts
|
||||||
(like ssh-keys).
|
(like ssh-keys).
|
||||||
|
|
||||||
- cache/
|
- cache/hosts/:
|
||||||
|
Contains cache of every known host.
|
||||||
|
|
||||||
|
- cache/hosts/<name>:
|
||||||
|
Contains cache of the specific host.
|
||||||
|
|
||||||
|
- cache/hosts/<name>/explorers:
|
||||||
|
Output of explorers from last run for the host.
|
||||||
|
|
||||||
|
- cache/hosts/<name>/objects:
|
||||||
|
Objects created during last run for the host.
|
||||||
|
|
||||||
- tmpdir: Temporary storage
|
- tmpdir: Temporary storage
|
||||||
A tempdir and a tempfile is provided by cdist-config(1), which
|
A tempdir and a tempfile is provided by cdist-config(1), which
|
||||||
|
@ -81,33 +90,3 @@ COPYING
|
||||||
-------
|
-------
|
||||||
Copyright \(C) 2010-2011 Nico Schottelius. Free use of this software is
|
Copyright \(C) 2010-2011 Nico Schottelius. Free use of this software is
|
||||||
granted under the terms of the GNU General Public License version 3 (GPLv3).
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Differences manifests vs. types
|
|
||||||
|
|
||||||
|
|
||||||
manifests types
|
|
||||||
|
|
||||||
main purpose map config to host provide functionality
|
|
||||||
can change config no (prevent conflicts) yes (allow inheritance)
|
|
||||||
specificness site specific (globally) reusable
|
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
unsorted: cache / objects
|
|
||||||
|
|
||||||
- If cdist encounters type in manifest,
|
|
||||||
a wrapper script is run, that creates a
|
|
||||||
new entry in the cconfig database and adds
|
|
||||||
attribute values. This defines a cconfig
|
|
||||||
tree, that may look as follows:
|
|
||||||
|
|
||||||
|
|
||||||
<hostname>/<type>/<id>/<parameters>:
|
|
||||||
|
|
||||||
myhost/__file/cdist_bin/source
|
|
||||||
myhost/__file/cdist_bin/destination
|
|
||||||
...
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue