new: core/__cdist_remote_explorer_run

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-06-14 11:10:58 +02:00
parent 022db22924
commit cda6c24799
2 changed files with 2 additions and 4 deletions

View File

@ -23,7 +23,7 @@
. cdist-config
[ $# -eq 1 ] || __cdist_usage "<target_host>"
set -ue
set -uex
__cdist_target_host="$1"; shift
@ -33,7 +33,7 @@ __cdist_echo info "Running global explorers "
__cdist_dir push "${__cdist_explorer_dir}" "${__cdist_remote_explorer_dir}"
# run the initial explorers remotely
__cdist_run_remote cdist-remote-explorer-run \
__cdist_run_remote __cdist_remote_explorer_run \
"$__cdist_name_var_explorer" "$__cdist_remote_explorer_dir" \
"$__cdist_remote_out_explorer_dir"

View File

@ -24,11 +24,9 @@
# and __type_explorers can be submitted :-)
#
# FIXME: cleanup!
__cdist_remote_explorer_run()
{
[ $# -eq 3 ] || __cdist_usage "<variable name> <explorer dir> <out dir>"
set -ue
"$__cdist_name_var_object=\"$(__cdist_remote_object_dir "$__cdist_object_self")\""