remember default __remote_{copy,exec} so we can use it ourself in custom __remote_{copy,exec} scripts

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
remotes/origin/4.6
Steven Armstrong 8 years ago
parent 04c8415060
commit 0114001627
  1. 2
      cdist/conf/type/__install_config/files/remote/copy
  2. 2
      cdist/conf/type/__install_config/files/remote/exec
  3. 2
      cdist/conf/type/__install_config/gencode-local

@ -41,6 +41,6 @@ log "@: $@"
log "code: $code"
# copy files into chroot
$__remote_copy $code
$__default_remote_copy $code
log "-----"

@ -44,6 +44,6 @@ log "@: $@"
log "code: $code"
# Run the code
$__remote_exec $target_host $code
$__default_remote_exec $target_host $code
log "-----"

@ -39,6 +39,8 @@ case "$__cdist_loglevel" in
esac
cat << DONE
export __default_remote_exec="$__remote_exec"
export __default_remote_copy="$__remote_copy"
cdist config \
$cdist_args \
--remote-exec="$remote_exec $chroot" \

Loading…
Cancel
Save