forked from ungleich-public/cdist
cleanup bin/cdist_tree_wrapper and introduce __cdist_object_source
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
b639ed3b0c
commit
c8242ef7da
2 changed files with 14 additions and 7 deletions
|
|
@ -145,6 +145,13 @@ __cdist_object_list()
|
|||
sed -e "s;$__cdist_name_object_source\$;;" -e 's;^./;;'
|
||||
}
|
||||
|
||||
__cdist_object_source()
|
||||
{
|
||||
local object_dir="$1"; shift
|
||||
|
||||
cat "${object_dir}/$__cdist_name_object_source"
|
||||
}
|
||||
|
||||
__cdist_tmp_removal()
|
||||
{
|
||||
rm -rf "${__cdist_tmp_dir}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue