cdist/other/examples/remote/ssh/copy
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_copy="/path/to/this/script" cdist config target_host
#
#echo "$@" | logger -t "cdist-ssh-copy"
scp -o User=root -q $@