From 609b92b661165ffa6ac0e501ceaf48445788a222 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 23 Feb 2011 18:17:15 +0100 Subject: [PATCH] update to new binaries Signed-off-by: Nico Schottelius --- bin/cdist-deploy-to | 6 ++---- bin/cdist-explorer-run | 4 ++-- bin/cdist-remote-explorer-run | 2 ++ 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/cdist-deploy-to b/bin/cdist-deploy-to index 97538d1f..50bb48b8 100755 --- a/bin/cdist-deploy-to +++ b/bin/cdist-deploy-to @@ -31,10 +31,8 @@ __cdist_target_host="$1" # See cdist-stages(7) # -# Transfer core helpers plus cdist-config -cdist-dir push "$__cdist_target_host" "${__cdist_helper_dir}" "${__cdist_remote_helper_dir}" -scp "$(which cdist-config)" \ - "${__cdist_remote_user}@${__cdist_target_host}:${__cdist_remote_helper_dir}" +# Transfer cdist "binaries" +cdist-bin-transfer "$__cdist_target_host" "${__cdist_remote_bin_dir}" # Execute explorer cdist-explorer-run-init "$__cdist_target_host" "$__cdist_out_explorer_dir" diff --git a/bin/cdist-explorer-run b/bin/cdist-explorer-run index e558015e..fde3512c 100755 --- a/bin/cdist-explorer-run +++ b/bin/cdist-explorer-run @@ -23,8 +23,8 @@ . cdist-config -if [ $# -lt 3 ]; then - __cdist_usage " [explorer args]" +if [ $# -lt 4 ]; then + __cdist_usage " [explorer args]" fi set -ue diff --git a/bin/cdist-remote-explorer-run b/bin/cdist-remote-explorer-run index a04b0057..5dbea39c 100755 --- a/bin/cdist-remote-explorer-run +++ b/bin/cdist-remote-explorer-run @@ -18,6 +18,8 @@ # along with cdist. If not, see . # # +# This binary is executed on the remote side to execute explorers +# . cdist-config if [ $# -lt 3 ]; then