use __cdist prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								d0434ea56b
							
						
					
				
			
			
				commit
				
					
						cb5fc962b3
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -29,7 +29,7 @@ set -eu
 | 
				
			||||||
__cdist_target_host="$1"; shift
 | 
					__cdist_target_host="$1"; shift
 | 
				
			||||||
__cdist_object="$1"; shift
 | 
					__cdist_object="$1"; shift
 | 
				
			||||||
 | 
					
 | 
				
			||||||
__object_id="$(__cdist_object_id_from_object "$__cdist_object")"
 | 
					__cdist_object_id="$(__cdist_object_id_from_object "$__cdist_object")"
 | 
				
			||||||
__cdist_type="$(__cdist_type_from_object "$__cdist_object")"
 | 
					__cdist_type="$(__cdist_type_from_object "$__cdist_object")"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Check if type of object has >= 1 explorer
 | 
					# Check if type of object has >= 1 explorer
 | 
				
			||||||
| 
						 | 
					@ -53,7 +53,7 @@ if [ "$__cdist_has_explorer" ]; then
 | 
				
			||||||
   # Execute explorers
 | 
					   # Execute explorers
 | 
				
			||||||
   cdist-run-remote "$__cdist_target_host"                     \
 | 
					   cdist-run-remote "$__cdist_target_host"                     \
 | 
				
			||||||
      "$__cdist_name_var_object=\"$(__cdist_remote_object_dir "$__cdist_object")\"" \
 | 
					      "$__cdist_name_var_object=\"$(__cdist_remote_object_dir "$__cdist_object")\"" \
 | 
				
			||||||
      "$__cdist_name_var_object_id=\"$__object_id\""           \
 | 
					      "$__cdist_name_var_object_id=\"$__cdist_object_id\"      \
 | 
				
			||||||
      "$__cdist_name_var_self=\"$__cdist_object\""             \
 | 
					      "$__cdist_name_var_self=\"$__cdist_object\""             \
 | 
				
			||||||
      cdist-remote-explorer-run                                \
 | 
					      cdist-remote-explorer-run                                \
 | 
				
			||||||
      "$__cdist_name_var_type_explorer"                        \
 | 
					      "$__cdist_name_var_type_explorer"                        \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue