cleanup config layout, add type specific explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
ff1fae2670
commit
f87472e65d
1 changed files with 25 additions and 15 deletions
|
@ -51,37 +51,47 @@ variables, see cdist-environment(7)).
|
||||||
Parameters optionally accepted by type, \n seperated list.
|
Parameters optionally accepted by type, \n seperated list.
|
||||||
See cdist-types(7).
|
See cdist-types(7).
|
||||||
|
|
||||||
- cache/
|
- types/<name>/explorers:
|
||||||
The cache contains results from previous runs, which may also
|
Location of the type specific explorers.
|
||||||
be used in types to gather information about other hosts
|
See cdist-explorers(7).
|
||||||
(like ssh-keys).
|
|
||||||
|
|
||||||
- cache/hosts/:
|
- /output-tree/
|
||||||
Contains cache of every known host.
|
This directory contains output of cdist and is mirrored into the
|
||||||
|
cache after a successful run. This directory may be placed below
|
||||||
|
the tmpdir or at any other location.
|
||||||
|
|
||||||
- cache/hosts/<name>:
|
- /output-tree/hosts/:
|
||||||
|
Contains output of hosts.
|
||||||
|
|
||||||
|
- /output-tree/hosts/<name>:
|
||||||
Contains cache of the specific host.
|
Contains cache of the specific host.
|
||||||
|
|
||||||
- cache/hosts/<name>/explorers:
|
- /output-tree/hosts/<name>/explorers:
|
||||||
Output of explorers from last run for the host.
|
Output of general explorers.
|
||||||
|
|
||||||
- cache/hosts/<name>/objects:
|
- /output-tree/hosts/<name>/objects:
|
||||||
Objects created during last run for the host.
|
Objects created during last run for the host.
|
||||||
|
|
||||||
|
- /output-tree/hosts/<name>/objects/<object>/explorers:
|
||||||
|
Output of type specific explorers, per object.
|
||||||
|
|
||||||
- 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
|
||||||
will be removed when the scripts ends automatically.
|
will be removed when the scripts ends automatically.
|
||||||
|
|
||||||
|
FUTURE
|
||||||
|
------
|
||||||
|
The following functionality may be implemented in the next release (or so).
|
||||||
|
|
||||||
- tmpdir/cache/: New cache
|
- tmpdir/cache/: New cache
|
||||||
This directory contains elements for the new cache of the host.
|
This directory contains elements for the new cache of the host.
|
||||||
If all stages are completed successfully, the new cache is used
|
If all stages are completed successfully, the new cache is used
|
||||||
to replace the previous one.
|
to replace the previous one.
|
||||||
|
|
||||||
- tmpdir/explorers/: Output of explorers
|
- cache/
|
||||||
If the run was successful, the results are copied into the new cache.
|
The cache contains the cconfig output tree from previous runs, which
|
||||||
|
may also be used in types to gather information about other hosts
|
||||||
- tmpdir/objects/: Objects created during run
|
(like ssh-keys).
|
||||||
If the run was successful, the results are copied into the new cache.
|
|
||||||
|
|
||||||
|
|
||||||
AUTHOR
|
AUTHOR
|
||||||
|
|
Loading…
Reference in a new issue