diff --git a/bin/cdist-config b/bin/cdist-config index dc0d423d..65372dd9 100755 --- a/bin/cdist-config +++ b/bin/cdist-config @@ -150,6 +150,11 @@ __cdist_type_param_file() echo "${__cdist_type_dir}/$type/$__cdist_name_type_params/$paramtype" } +__cdist_type_from_object() +{ + echo "${1%%/*}" +} + __cdist_object_arg() { local arg="$1"; shift