diff --git a/bin/cdist-config b/bin/cdist-config index cf26bf90..8320879a 100755 --- a/bin/cdist-config +++ b/bin/cdist-config @@ -35,7 +35,11 @@ : ${__cdist_name_init:=init} : ${__cdist_name_manifest:=manifests} : ${__cdist_name_object:=objects} + : ${__cdist_name_type:=types} +: ${__cdist_name_type_params:=parameters} +: ${__cdist_name_type_params_required:=required} +: ${__cdist_name_type_params_optional:=optional} # Name of the executable generated : ${__cdist_name_exec:=exec} @@ -127,6 +131,14 @@ __cdist_type_gencode() echo "${__cdist_type_dir}/${type}/$__cdist_name_gencode" } +__cdist_type_param_file() +{ + local type="$1"; shift + local paramtype="$1"; shift + + echo "${__cdist_type_dir}/$type/$__cdist_name_type_params/$paramtype" +} + __cdist_object_arg() { local arg="$1"; shift