debug log for code inserted
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
279d519dda
commit
0b5e7b5855
1 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,8 @@ __cdist_object_code_run()
|
||||||
"$(__cdist_object_code "$1" "${__cdist_name_gencode_local}")"; then
|
"$(__cdist_object_code "$1" "${__cdist_name_gencode_local}")"; then
|
||||||
__cdist_run_shell \
|
__cdist_run_shell \
|
||||||
"$(__cdist_object_code "$1" "${__cdist_name_gencode_local}")"
|
"$(__cdist_object_code "$1" "${__cdist_name_gencode_local}")"
|
||||||
|
else
|
||||||
|
__cdist_echo debug "Local code: none"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Code remote
|
# Code remote
|
||||||
|
@ -46,5 +48,7 @@ __cdist_object_code_run()
|
||||||
"$(__cdist_object_code "$1" "${__cdist_name_gencode_remote}")"; then
|
"$(__cdist_object_code "$1" "${__cdist_name_gencode_remote}")"; then
|
||||||
|
|
||||||
__cdist_run_remote $(__cdist_remote_object_code "$1")
|
__cdist_run_remote $(__cdist_remote_object_code "$1")
|
||||||
|
else
|
||||||
|
__cdist_echo debug "Remote code: none"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue