++todo, use new function

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-06-17 14:28:45 +02:00
parent 83e75666c3
commit a5b9713986
3 changed files with 23 additions and 4 deletions

View file

@ -28,12 +28,10 @@ __cdist_explorer_run_global()
# copy the explorers
__cdist_dir push "${__cdist_explorer_dir}" "${__cdist_remote_explorer_dir}"
# run the initial explorers remotely
__cdist_run_remote __cdist_remote_explorer_run # FIXME: add object_self!!!! \
"$__cdist_name_var_explorer" "$__cdist_remote_explorer_dir" \
# run the global explorers remotely
__cdist_explorer_run global "$__cdist_remote_explorer_dir" \
"$__cdist_remote_out_explorer_dir"
# retrieve the results
__cdist_dir pull "${__cdist_remote_out_explorer_dir}" "${__cdist_out_explorer_dir}"
}

View file

@ -0,0 +1,6 @@
ikq04:
cdist-deploy-to ikq04.ethz.ch 35.44s user 30.65s system 34% cpu 3:11.45 total # also migrate cdist-object-gencode
cdist-deploy-to ikq04.ethz.ch 23.56s user 22.44s system 35% cpu 2:09.78 total # ../bin/cdist-object-all -> __cdist_object_all
cdist-deploy-to ikq04.ethz.ch 17.35s user 16.83s system 30% cpu 1:53.69 total # bin/cdist-object-manifest-run -> core/__cdist_object_manifest_run
cdist-deploy-to ikq04.ethz.ch 19.76s user 23.58s system 35% cpu 2:03.33 total # ../core/__cdist_manifest_run_init

View file

@ -2,4 +2,19 @@
either make functions available on the other side or
put logic on the server side.
- trying to run global explorers nicely from local side
- Both type and global have...
- local sourcedir
- remote destination dir
- remote out dir
- local out dir
- Differences are in...
- variables exposed / submitted
Catch broken instances in cdist-mass-deploy -p and report broken deployements at the end!