forked from ungleich-public/cdist
remove __cdist_type_parameter_file in favor for new variants
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
e1a5a26cbf
commit
24200865c9
1 changed files with 2 additions and 7 deletions
|
@ -202,20 +202,15 @@ __cdist_type_parameter_dir()
|
||||||
echo "$(__cdist_type_dir "$1")/${__cdist_name_parameter}"
|
echo "$(__cdist_type_dir "$1")/${__cdist_name_parameter}"
|
||||||
}
|
}
|
||||||
|
|
||||||
__cdist_type_parameter_file()
|
|
||||||
{
|
|
||||||
echo "$(__cdist_type_parameter_dir "$1")/$2"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Shorthand for required and optional
|
# Shorthand for required and optional
|
||||||
__cdist_type_parameter_required()
|
__cdist_type_parameter_required()
|
||||||
{
|
{
|
||||||
__cdist_type_parameter_file "$1/$__cdist_name_parameter_required"
|
echo "$(__cdist_type_parameter_dir "$1")/$__cdist_name_parameter_required"
|
||||||
}
|
}
|
||||||
|
|
||||||
__cdist_type_parameter_optional()
|
__cdist_type_parameter_optional()
|
||||||
{
|
{
|
||||||
__cdist_type_parameter_file "$1/$__cdist_name_parameter_optional"
|
echo "$(__cdist_type_parameter_dir "$1")/$__cdist_name_parameter_optional"
|
||||||
}
|
}
|
||||||
|
|
||||||
__cdist_type_from_object()
|
__cdist_type_from_object()
|
||||||
|
|
Loading…
Reference in a new issue