add examples for __remote_{copy,exec} scripts

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-11-03 17:21:14 +01:00
commit 360a03a349
5 changed files with 85 additions and 0 deletions

10
other/examples/remote/ssh/exec Executable file
View file

@ -0,0 +1,10 @@
#!/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 $@