From 9bdfeb6198eb3e17422bd300a26f799d896f1cf2 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 23 Feb 2011 09:14:14 +0100 Subject: [PATCH] exit after object explorer run Signed-off-by: Nico Schottelius --- bin/cdist-deploy-to | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/cdist-deploy-to b/bin/cdist-deploy-to index 2744c7c5..c4e89712 100755 --- a/bin/cdist-deploy-to +++ b/bin/cdist-deploy-to @@ -39,11 +39,16 @@ export __cdist_out_execs cdist-explorer-run-init "$__cdist_target_host" "$__cdist_out_explorers" cdist-manifest-init "$__cdist_target_host" "$__cdist_out_objects" cdist-manifest-run-all "$__cdist_target_host" "$__cdist_out_objects" +cdist-object-explorer-all "$__cdist_target_host" "$__cdist_out_objects" +exit 0 cdist-object-codegen-all "$__cdist_target_host" "$__cdist_out_objects" "$__cdist_out_execs" cdist-exec-transfer "$__cdist_target_host" "$__cdist_out_execs" cdist-exec-run "$__cdist_target_host" -# FIXME: Create new cache from results +# FIXME: Create new cache from results: +# cdist-cache-copy "$__cdist_target_host" __cdist_out_explorers __cdist_out_objects __cdist_out_execs +# or similar, better with one directory +# # echo rm -rf "$(__cdist_cache_host)" # mkdir -p "$(__cdist_cache_host)" # mv "$__cdist_out_explorers" "$__cdist_out_objects" "$(__cdist_cache_host)"