cleanup cdist-explorer-run-init, export __explorers to general explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								368eed50c1
							
						
					
				
			
			
				commit
				
					
						212260b46d
					
				
			
		
					 3 changed files with 14 additions and 16 deletions
				
			
		| 
						 | 
				
			
			@ -40,9 +40,12 @@ ln -sf "$__cdist_conf_dir" "$__cdist_local_base_dir/$__cdist_name_conf_dir"
 | 
			
		|||
# Transfer cdist "binaries"
 | 
			
		||||
cdist-bin-transfer            "$__cdist_target_host" "$__cdist_remote_bin_dir"
 | 
			
		||||
 | 
			
		||||
# Execute explorer
 | 
			
		||||
# Execute general explorers
 | 
			
		||||
cdist-explorer-run-init       "$__cdist_target_host" "$__cdist_out_explorer_dir"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
exit 2
 | 
			
		||||
 | 
			
		||||
# Create initial object base
 | 
			
		||||
cdist-manifest-run-init       "$__cdist_target_host" "$__cdist_out_object_dir"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -51,9 +54,6 @@ cdist-manifest-run-all        "$__cdist_target_host" "$__cdist_out_object_dir"
 | 
			
		|||
 | 
			
		||||
# Run explorer of each type for every object of types with explorer
 | 
			
		||||
cdist-object-explorer-all     "$__cdist_target_host" "$__cdist_out_object_dir"
 | 
			
		||||
 | 
			
		||||
exit 2
 | 
			
		||||
 | 
			
		||||
cdist-object-codegen-all      "$__cdist_target_host" "$__cdist_out_object_dir" "$__cdist_out_execs"
 | 
			
		||||
cdist-exec-transfer           "$__cdist_target_host" "$__cdist_out_execs"
 | 
			
		||||
cdist-exec-run                "$__cdist_target_host"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue