begin introduction of cdist-helper-exec
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								9c9d3b33cf
							
						
					
				
			
			
				commit
				
					
						b81101ac47
					
				
			
		
					 2 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -31,5 +31,10 @@ set -ue
 | 
				
			||||||
 | 
					
 | 
				
			||||||
__cdist_target_host="$1"; shift
 | 
					__cdist_target_host="$1"; shift
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cdist-helper-exec "${__cdist_target_host}" "cdist-explorer-remote-run" "$@"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					exit 23
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# use this in cdist-helper-exec
 | 
				
			||||||
ssh "${__cdist_remote_user}@${__cdist_target_host}"   \
 | 
					ssh "${__cdist_remote_user}@${__cdist_target_host}"   \
 | 
				
			||||||
      "${__cdist_remote_helper_dir}/cdist-explorer-remote-run" "$@"
 | 
					      "${__cdist_remote_helper_dir}/cdist-explorer-remote-run" "$@"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,3 +3,4 @@ add explorers per type/object
 | 
				
			||||||
      - define paths in cdist-config
 | 
					      - define paths in cdist-config
 | 
				
			||||||
   - rewrite cdist-explorer-run
 | 
					   - rewrite cdist-explorer-run
 | 
				
			||||||
      - define helpers on the remote side (like cdist-explorer-coordinator)
 | 
					      - define helpers on the remote side (like cdist-explorer-coordinator)
 | 
				
			||||||
 | 
					         - make cdist-config available / put helpers into path
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue