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.
 | 
					# to a remote target host.
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Usage:
 | 
					# 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() {
 | 
					log() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,7 +22,7 @@
 | 
				
			||||||
# on a remote target host.
 | 
					# on a remote target host.
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Usage:
 | 
					# 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() {
 | 
					log() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,8 +21,10 @@
 | 
				
			||||||
# __remote_{exec,copy} script to run cdist against a schroot target uri
 | 
					# __remote_{exec,copy} script to run cdist against a schroot target uri
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Usage:
 | 
					# Usage:
 | 
				
			||||||
#  __remote_exec="/path/to/this/script exec" cdist config target_uri
 | 
					#  cdist config \
 | 
				
			||||||
#  __remote_copy="/path/to/this/script copy" cdist config target_uri
 | 
					#     --remote-exec "/path/to/this/script exec" \
 | 
				
			||||||
 | 
					#     --remote-copy "/path/to/this/script copy" \
 | 
				
			||||||
 | 
					#     target_uri
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# # target_uri examples:
 | 
					# # target_uri examples:
 | 
				
			||||||
# schroot:///chroot-name
 | 
					# schroot:///chroot-name
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,7 +21,7 @@
 | 
				
			||||||
# __remote_copy script to run cdist against a chroot on the target host over ssh.
 | 
					# __remote_copy script to run cdist against a chroot on the target host over ssh.
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Usage:
 | 
					# 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() {
 | 
					log() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,7 +21,7 @@
 | 
				
			||||||
# __remote_exec script to run cdist against a chroot on the target host over ssh.
 | 
					# __remote_exec script to run cdist against a chroot on the target host over ssh.
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Usage:
 | 
					# 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() {
 | 
					log() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,7 +21,7 @@
 | 
				
			||||||
# same as cdist default
 | 
					# same as cdist default
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Usage:
 | 
					# 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"
 | 
					#echo "$@" | logger -t "cdist-ssh-copy"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,7 +21,7 @@
 | 
				
			||||||
# same as cdist default
 | 
					# same as cdist default
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Usage:
 | 
					# 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"
 | 
					#echo "$@" | logger -t "cdist-ssh-exec"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue