replace CONSTANT target host by variable target host

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-28 18:38:43 +02:00
parent 8315ac2e25
commit a46c0a4372

View file

@ -29,7 +29,7 @@ set -eu
__cdist_target_host="$1"; shift
__cdist_object="$1"; shift
echo "Transferring object $__cdist_object to target host ..."
echo "Transferring object $__cdist_object to $__cdist_target_host ..."
cdist-dir push "$__cdist_target_host" \
"$(__cdist_object_dir "$__cdist_object")" \
"$(__cdist_remote_object_dir "$__cdist_object")"