From f87472e65db7824e7affa7f06bd76c6a5e765174 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 22 Feb 2011 23:57:30 +0100 Subject: [PATCH] cleanup config layout, add type specific explorers Signed-off-by: Nico Schottelius --- doc/man/cdist-config-layout.text | 40 ++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/doc/man/cdist-config-layout.text b/doc/man/cdist-config-layout.text index aec2694a..2ce1c897 100644 --- a/doc/man/cdist-config-layout.text +++ b/doc/man/cdist-config-layout.text @@ -51,37 +51,47 @@ variables, see cdist-environment(7)). Parameters optionally accepted by type, \n seperated list. See cdist-types(7). -- cache/ - The cache contains results from previous runs, which may also - be used in types to gather information about other hosts - (like ssh-keys). +- types//explorers: + Location of the type specific explorers. + See cdist-explorers(7). -- cache/hosts/: - Contains cache of every known host. +- /output-tree/ + 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/: +- /output-tree/hosts/: + Contains output of hosts. + +- /output-tree/hosts/: Contains cache of the specific host. -- cache/hosts//explorers: - Output of explorers from last run for the host. +- /output-tree/hosts//explorers: + Output of general explorers. -- cache/hosts//objects: +- /output-tree/hosts//objects: Objects created during last run for the host. +- /output-tree/hosts//objects//explorers: + Output of type specific explorers, per object. + - tmpdir: Temporary storage A tempdir and a tempfile is provided by cdist-config(1), which 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 This directory contains elements for the new cache of the host. If all stages are completed successfully, the new cache is used to replace the previous one. -- tmpdir/explorers/: Output of explorers - If the run was successful, the results are copied into the new cache. - -- tmpdir/objects/: Objects created during run - If the run was successful, the results are copied into the new cache. +- cache/ + The cache contains the cconfig output tree from previous runs, which + may also be used in types to gather information about other hosts + (like ssh-keys). AUTHOR