make all internal variables __cdist_ prefixed
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
c80fa65af1
commit
3618b225a3
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue