update comments to work with arguments vs environment variables: /__remote_{exec,copy}/--remote-{exec,copy}/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
d052e2d510
commit
fc8ff29289
7 changed files with 10 additions and 8 deletions
|
@ -22,7 +22,7 @@
|
|||
# to a remote target host.
|
||||
#
|
||||
# Usage:
|
||||
# __remote_copy="/path/to/this/script /path/to/your/chroot" cdist config target-id
|
||||
# cdist config --remote-copy "/path/to/this/script /path/to/your/chroot" target-id
|
||||
#
|
||||
|
||||
log() {
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
# on a remote target host.
|
||||
#
|
||||
# Usage:
|
||||
# __remote_exec="/path/to/this/script /path/to/your/chroot" cdist config target-id
|
||||
# cdist config --remote-exec "/path/to/this/script /path/to/your/chroot" target-id
|
||||
#
|
||||
|
||||
log() {
|
||||
|
|
|
@ -21,8 +21,10 @@
|
|||
# __remote_{exec,copy} script to run cdist against a schroot target uri
|
||||
#
|
||||
# Usage:
|
||||
# __remote_exec="/path/to/this/script exec" cdist config target_uri
|
||||
# __remote_copy="/path/to/this/script copy" cdist config target_uri
|
||||
# cdist config \
|
||||
# --remote-exec "/path/to/this/script exec" \
|
||||
# --remote-copy "/path/to/this/script copy" \
|
||||
# target_uri
|
||||
#
|
||||
# # target_uri examples:
|
||||
# schroot:///chroot-name
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
# __remote_copy script to run cdist against a chroot on the target host over ssh.
|
||||
#
|
||||
# Usage:
|
||||
# __remote_copy="/path/to/this/script schroot-chroot-name" cdist config target_host
|
||||
# cdist config --remote-copy "/path/to/this/script schroot-chroot-name" target_host
|
||||
#
|
||||
|
||||
log() {
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
# __remote_exec script to run cdist against a chroot on the target host over ssh.
|
||||
#
|
||||
# Usage:
|
||||
# __remote_exec="/path/to/this/script schroot-chroot-name" cdist config target_host
|
||||
# cdist config --remote-exec "/path/to/this/script schroot-chroot-name" target_host
|
||||
#
|
||||
|
||||
log() {
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
# same as cdist default
|
||||
#
|
||||
# Usage:
|
||||
# __remote_copy="/path/to/this/script" cdist config target_host
|
||||
# cdist config --remote-copy "/path/to/this/script" target_host
|
||||
#
|
||||
|
||||
#echo "$@" | logger -t "cdist-ssh-copy"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
# same as cdist default
|
||||
#
|
||||
# Usage:
|
||||
# __remote_exec="/path/to/this/script" cdist config target_host
|
||||
# cdist config --remote-exec "/path/to/this/script" target_host
|
||||
#
|
||||
|
||||
#echo "$@" | logger -t "cdist-ssh-exec"
|
||||
|
|
Loading…
Reference in a new issue