forked from ungleich-public/cdist
begin introduction of cdist-helper-exec
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
9c9d3b33cf
commit
b81101ac47
2 changed files with 6 additions and 0 deletions
|
|
@ -31,5 +31,10 @@ set -ue
|
|||
|
||||
__cdist_target_host="$1"; shift
|
||||
|
||||
cdist-helper-exec "${__cdist_target_host}" "cdist-explorer-remote-run" "$@"
|
||||
|
||||
exit 23
|
||||
|
||||
# use this in cdist-helper-exec
|
||||
ssh "${__cdist_remote_user}@${__cdist_target_host}" \
|
||||
"${__cdist_remote_helper_dir}/cdist-explorer-remote-run" "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue