forked from ungleich-public/cdist
create __cdist_object_id_from_object and use it + __cdist_type_from_object in cdist-manifest-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
51669874a7
commit
a12df5ce7c
2 changed files with 7 additions and 2 deletions
|
|
@ -160,6 +160,11 @@ __cdist_type_from_object()
|
|||
echo "${1%%/*}"
|
||||
}
|
||||
|
||||
__cdist_object_id_from_object()
|
||||
{
|
||||
echo "${1#*/}"
|
||||
}
|
||||
|
||||
__cdist_object_arg()
|
||||
{
|
||||
local arg="$1"; shift
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue