verify: __object_id and __object work in cdist-manifest-run-all

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-24 15:40:34 +01:00
parent 24ce08820e
commit 97ab2066d4

View file

@ -68,8 +68,10 @@ while [ "$__cdist_new_objects_created" = "y" ]; do
echo "Executing manifest ${__cdist_manifest} ..."
# Make variables available to non-core
export $__cdist_name_object="$__cdist_object"
export $__cdist_name_object_id="$__cdist_object_id"
set -x
export $__cdist_name_var_object="$__cdist_cur_object_dir"
export $__cdist_name_var_object_id="$__cdist_object_id"
set +x
cdist-manifest-run "$__cdist_target_host" "$__cdist_manifest" \
"$__cdist_new_objects_dir" "$__cdist_object_id"