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:
Nico Schottelius 2011-03-23 17:24:48 +01:00
parent 5e5334dee1
commit f375b5cb91

View file

@ -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-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"