update to new binaries

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-23 18:17:15 +01:00
parent 45237ec5ae
commit 609b92b661
3 changed files with 6 additions and 6 deletions

View file

@ -31,10 +31,8 @@ __cdist_target_host="$1"
# See cdist-stages(7) # See cdist-stages(7)
# #
# Transfer core helpers plus cdist-config # Transfer cdist "binaries"
cdist-dir push "$__cdist_target_host" "${__cdist_helper_dir}" "${__cdist_remote_helper_dir}" cdist-bin-transfer "$__cdist_target_host" "${__cdist_remote_bin_dir}"
scp "$(which cdist-config)" \
"${__cdist_remote_user}@${__cdist_target_host}:${__cdist_remote_helper_dir}"
# Execute explorer # Execute explorer
cdist-explorer-run-init "$__cdist_target_host" "$__cdist_out_explorer_dir" cdist-explorer-run-init "$__cdist_target_host" "$__cdist_out_explorer_dir"

View file

@ -23,8 +23,8 @@
. cdist-config . cdist-config
if [ $# -lt 3 ]; then if [ $# -lt 4 ]; then
__cdist_usage "<target host> <remote srcdir> <remote dstdir> [explorer args]" __cdist_usage "<target host> <remote work dir> <remote src dir> <remote dst dir> [explorer args]"
fi fi
set -ue set -ue

View file

@ -18,6 +18,8 @@
# along with cdist. If not, see <http://www.gnu.org/licenses/>. # along with cdist. If not, see <http://www.gnu.org/licenses/>.
# #
# #
# This binary is executed on the remote side to execute explorers
#
. cdist-config . cdist-config
if [ $# -lt 3 ]; then if [ $# -lt 3 ]; then