|
|
|
@ -31,13 +31,14 @@ |
|
|
|
|
: ${__cdist_name_explorer:=explorers} |
|
|
|
|
: ${__cdist_name_host:=hosts} |
|
|
|
|
: ${__cdist_name_init:=init} |
|
|
|
|
: ${__cdist_name_manifest:=manifests} |
|
|
|
|
: ${__cdist_name_object:=objects} |
|
|
|
|
: ${__cdist_name_type:=types} |
|
|
|
|
|
|
|
|
|
# Base |
|
|
|
|
: ${__cdist_config:=/etc/cdist} |
|
|
|
|
: ${__cdist_explorer_dir:=$__cdist_config/$__cdist_name_explorer} |
|
|
|
|
: ${__cdist_manifest_dir:=$__cdist_config/manifests} |
|
|
|
|
: ${__cdist_manifest_dir:=$__cdist_config/$__cdist_name_manifest} |
|
|
|
|
: ${__cdist_manifest_init:=$__cdist_manifest_dir/$__cdist_name_init} |
|
|
|
|
: ${__cdist_type_dir:=$__cdist_config/$__cdist_name_type} |
|
|
|
|
|
|
|
|
@ -113,6 +114,11 @@ __cdist_cache_host() |
|
|
|
|
echo "${__cdist_cache_hosts}/${__cdist_target_host}" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
__cdist_type_mydir() |
|
|
|
|
{ |
|
|
|
|
echo "${__cdist_type_dir}/${__cdist_type_current}" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
__cdist_tmp_removal() |
|
|
|
|
{ |
|
|
|
|
rm -rf "${__cdist_tmp_dir}" |
|
|
|
|