fix some issues in cdist-config, transfer parameters
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
dcb9900afc
commit
8d774ff152
2 changed files with 25 additions and 11 deletions
|
|
@ -183,24 +183,34 @@ __cdist_object_id_from_object()
|
|||
echo "${1#*/}"
|
||||
}
|
||||
|
||||
__cdist_object_param_dir()
|
||||
__cdist_object_dir()
|
||||
{
|
||||
echo "${__cdist_object_base_dir}/$1/$__cdist_name_parameter}"
|
||||
echo "${__cdist_object_base_dir}/$1"
|
||||
}
|
||||
|
||||
__cdist_object_type_explorer_dir()
|
||||
__cdist_remote_object_dir()
|
||||
{
|
||||
echo "${__cdist_object_base_dir}/$1/${__cdist_name_explorer}"
|
||||
echo "${__cdist_remote_out_object_base_dir}/$1"
|
||||
}
|
||||
|
||||
__cdist_remote_object_type_explorer_dir()
|
||||
__cdist_object_parameter_dir()
|
||||
{
|
||||
echo "${__cdist_remote_out_object_base_dir}/$1/${__cdist_name_explorer}"
|
||||
echo "$(__cdist_object_dir "$1")/${__cdist_name_parameter}"
|
||||
}
|
||||
|
||||
__cdist_remote_object_parameter_dir()
|
||||
{
|
||||
echo "${__cdist_remote_out_object_base_dir}/$1/${__cdist_name_parameter}"
|
||||
echo "$(__cdist_remote_object_dir "$1")/${__cdist_name_parameter}"
|
||||
}
|
||||
|
||||
__cdist_object_type_explorer_dir()
|
||||
{
|
||||
echo "$(__cdist_object_dir "$1")/${__cdist_name_explorer}"
|
||||
}
|
||||
|
||||
__cdist_remote_object_type_explorer_dir()
|
||||
{
|
||||
echo "$(__cdist_remote_object_dir "$1")/${__cdist_name_explorer}"
|
||||
}
|
||||
|
||||
# Find objects, remove ./ and /MARKER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue