From a5b97139869203439f9fd4e60b8399e111412bb0 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 17 Jun 2011 14:28:45 +0200 Subject: [PATCH] ++todo, use new function Signed-off-by: Nico Schottelius --- core/__cdist_explorer_run_global | 6 ++---- doc/dev/logs/2011-06-14.timing | 6 ++++++ doc/dev/todo/niconext | 15 +++++++++++++++ 3 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 doc/dev/logs/2011-06-14.timing diff --git a/core/__cdist_explorer_run_global b/core/__cdist_explorer_run_global index 8a590164..dfbeb6ac 100755 --- a/core/__cdist_explorer_run_global +++ b/core/__cdist_explorer_run_global @@ -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}" } diff --git a/doc/dev/logs/2011-06-14.timing b/doc/dev/logs/2011-06-14.timing new file mode 100644 index 00000000..dcfd4884 --- /dev/null +++ b/doc/dev/logs/2011-06-14.timing @@ -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 diff --git a/doc/dev/todo/niconext b/doc/dev/todo/niconext index ce89c643..1ed887d5 100644 --- a/doc/dev/todo/niconext +++ b/doc/dev/todo/niconext @@ -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!