Add support for shell lib directory path

This commit is contained in:
Darko Poljak 2019-10-07 11:05:04 +02:00
commit bcdfc0eaa3
7 changed files with 24 additions and 1 deletions

View file

@ -81,6 +81,10 @@ confdir/files/
Cdist does not care about this directory besides providing access to it.
It is thought to be a general file storage area.
confdir/lib/
Cdist does not care about this directory besides providing access to it.
It is thought to be a general storage for shell library files.
confdir/manifest/init
This is the central entry point.
It is an executable (+x bit set) shell script that can use
@ -141,6 +145,10 @@ confdir/type/<name>/files
by cdist at any time. It can be used for storing supplementary
files (like scripts to act as a template or configuration files).
confdir/type/<name>/lib
This directory is reserved for user shell library files and will
not be used by cdist at any time.
out/
This directory contains output of cdist and is usually located
in a temporary directory and thus will be removed after the run.
@ -235,6 +243,10 @@ __files
Directory that contains content from the "files" subdirectories
from the configuration directories.
Available for: initial manifest, type manifest, type gencode, shell.
__lib
Directory that contains content from the "lib" subdirectories
from the configuration directories.
Available for: initial manifest, type manifest, type gencode, shell.
__manifest
Directory that contains the initial manifest.
Available for: initial manifest, type manifest, shell.