forked from ungleich-public/cdist
submit $__cdist_out_object_dir to cdist-code-run on target host
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
5e5334dee1
commit
f375b5cb91
1 changed files with 4 additions and 3 deletions
|
@ -43,8 +43,9 @@ while [ $# -ge 1 ]; do
|
|||
|| __cdist_exit_err "Remote code failed for $object"
|
||||
|
||||
# Code remote
|
||||
cdist-run-remote "$__cdist_target_host" "cdist-code-run" \
|
||||
"${__cdist_remote_out_object_base_dir}" "$object" \
|
||||
"${__cdist_name_gencode_remote}" \
|
||||
cdist-run-remote "$__cdist_target_host" \
|
||||
"__cdist_out_object_dir=\"$__cdist_remote_out_object_base_dir\" \
|
||||
"cdist-code-run" "${__cdist_remote_out_object_base_dir}" "$object" \
|
||||
"${__cdist_name_gencode_remote}" \
|
||||
|| __cdist_exit_err "Remote code failed for $object"
|
||||
done < "$__cdist_tmp_file"
|
||||
|
|
Loading…
Reference in a new issue