make all internal variables __cdist_ prefixed

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-29 10:34:04 +02:00
parent c80fa65af1
commit 3618b225a3

View file

@ -33,10 +33,10 @@ __object_id="$(__cdist_object_id_from_object "$__object")"
__cdist_type="$(__cdist_type_from_object "$__object")" __cdist_type="$(__cdist_type_from_object "$__object")"
# Check if type of object has >= 1 explorer # Check if type of object has >= 1 explorer
has_explorer="$(__cdist_type_has_explorer "$__cdist_type")" __cdist_has_explorer="$(__cdist_type___cdist_has_explorer "$__cdist_type")"
# If so, run explorers on remote side # If so, run explorers on remote side
if [ "$has_explorer" ]; then if [ "$__cdist_has_explorer" ]; then
echo "Running explorers for $__object ..." echo "Running explorers for $__object ..."
# Copy object parameters # Copy object parameters
cdist-dir push "$__cdist_target_host" \ cdist-dir push "$__cdist_target_host" \
@ -57,4 +57,3 @@ if [ "$has_explorer" ]; then
"$(__cdist_remote_object_type_explorer_dir "$__object")" \ "$(__cdist_remote_object_type_explorer_dir "$__object")" \
"$(__cdist_object_type_explorer_dir "$__object")" "$(__cdist_object_type_explorer_dir "$__object")"
fi fi