|
|
|
@ -33,10 +33,10 @@ __object_id="$(__cdist_object_id_from_object "$__object")" |
|
|
|
|
__cdist_type="$(__cdist_type_from_object "$__object")" |
|
|
|
|
|
|
|
|
|
# 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 [ "$has_explorer" ]; then |
|
|
|
|
if [ "$__cdist_has_explorer" ]; then |
|
|
|
|
echo "Running explorers for $__object ..." |
|
|
|
|
# Copy object parameters |
|
|
|
|
cdist-dir push "$__cdist_target_host" \ |
|
|
|
@ -57,4 +57,3 @@ if [ "$has_explorer" ]; then |
|
|
|
|
"$(__cdist_remote_object_type_explorer_dir "$__object")" \ |
|
|
|
|
"$(__cdist_object_type_explorer_dir "$__object")" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|