update to new binaries
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
45237ec5ae
commit
609b92b661
3 changed files with 6 additions and 6 deletions
|
@ -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"
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
|
||||
. cdist-config
|
||||
if [ $# -lt 3 ]; then
|
||||
__cdist_usage "<target host> <remote srcdir> <remote dstdir> [explorer args]"
|
||||
if [ $# -lt 4 ]; then
|
||||
__cdist_usage "<target host> <remote work dir> <remote src dir> <remote dst dir> [explorer args]"
|
||||
fi
|
||||
set -ue
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
#
|
||||
# This binary is executed on the remote side to execute explorers
|
||||
#
|
||||
|
||||
. cdist-config
|
||||
if [ $# -lt 3 ]; then
|
||||
|
|
Loading…
Reference in a new issue