forked from ungleich-public/cdist
cdist-explorer-run-global -> ../core/__cdist_explorer_run_global
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
7050342d90
commit
1132ec8756
1 changed files with 12 additions and 15 deletions
|
@ -21,12 +21,8 @@
|
||||||
# Copy & run the global explorers, i.e. not bound to types
|
# Copy & run the global explorers, i.e. not bound to types
|
||||||
#
|
#
|
||||||
|
|
||||||
. cdist-config
|
__cdist_explorer_run_global()
|
||||||
[ $# -eq 1 ] || __cdist_usage "<target_host>"
|
{
|
||||||
set -uex
|
|
||||||
|
|
||||||
__cdist_target_host="$1"; shift
|
|
||||||
|
|
||||||
__cdist_echo info "Running global explorers "
|
__cdist_echo info "Running global explorers "
|
||||||
|
|
||||||
# copy the explorers
|
# copy the explorers
|
||||||
|
@ -40,3 +36,4 @@ __cdist_run_remote __cdist_remote_explorer_run # FIXME: add object_self!!!! \
|
||||||
|
|
||||||
# retrieve the results
|
# retrieve the results
|
||||||
__cdist_dir pull "${__cdist_remote_out_explorer_dir}" "${__cdist_out_explorer_dir}"
|
__cdist_dir pull "${__cdist_remote_out_explorer_dir}" "${__cdist_out_explorer_dir}"
|
||||||
|
}
|
Loading…
Reference in a new issue