From 20e4e73bcd8f7535a176d9067057ec611a97976a Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 19 Mar 2011 23:17:40 +0100 Subject: [PATCH] fixup cdist-code-run-all and remove obsolete code Signed-off-by: Nico Schottelius --- bin/cdist-code-run-all | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/bin/cdist-code-run-all b/bin/cdist-code-run-all index f435006f..070d0e71 100755 --- a/bin/cdist-code-run-all +++ b/bin/cdist-code-run-all @@ -27,8 +27,6 @@ set -e __cdist_target_host="$1"; shift -__cdist_out_object_dir="$1"; shift - __cdist_object_list "$__cdist_out_object_dir" > "$__cdist_tmp_file" while read object; do @@ -37,11 +35,6 @@ while read object; do # Code remote cdist-run-remote "$__cdist_target_host" "cdist-code-run" \ - "${__cdist_remote_out_object_base_dir}" "${__cdist_name_gencode_remote}" + "${__cdist_remote_out_object_base_dir}" "$object" \ + "${__cdist_name_gencode_remote}" done < "$__cdist_tmp_file" - -exit 0 - -# OLD: -cdist-run-remote "$__cdist_target_host" \ - "cdist-remote-code-run-all" "${__cdist_remote_out_object_base_dir}"