cdist/other/examples/remote/ssh/exec
Steven Armstrong 360a03a349 add examples for __remote_{copy,exec} scripts
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-03 17:21:14 +01:00

10 lines
178 B
Bash
Executable file

#!/bin/sh
#
# same as cdist default
#
# Usage:
# __remote_exec="/path/to/this/script" cdist config target_host
#
#echo "$@" | logger -t "cdist-ssh-exec"
ssh -o User=root -q $@