forked from ungleich-public/cdist
		
	in theory: do not generate code anymore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								93ef73a645
							
						
					
				
			
			
				commit
				
					
						fc01ceb914
					
				
			
		
					 2 changed files with 19 additions and 21 deletions
				
			
		|  | @ -29,15 +29,10 @@ set -eu | |||
| __cdist_target_host="$1"; shift | ||||
| __cdist_object_self="$1"; shift | ||||
| 
 | ||||
| __cdist_code_local="$(__cdist_object_code "$__cdist_object_self")-${__cdist_name_gencode_local}" | ||||
| __cdist_code_remote="$(__cdist_object_code "$__cdist_object_self")-${__cdist_name_gencode_remote}" | ||||
| 
 | ||||
| __cdist_echo info "Generating local code " | ||||
| cdist-object-gencode "$__cdist_target_host" "$__cdist_object_self" \ | ||||
|    "${__cdist_name_gencode_local}" "${__cdist_code_local}" | ||||
|    "${__cdist_name_gencode_local}" | ||||
| 
 | ||||
| __cdist_echo info "Generating remote code " | ||||
| cdist-object-gencode "$__cdist_target_host" "$__cdist_object_self" \ | ||||
|    "${__cdist_name_gencode_remote}" "${__cdist_code_remote}" | ||||
| 
 | ||||
| chmod u+x "${__cdist_code_local}" "${__cdist_code_remote}" | ||||
|    "${__cdist_name_gencode_remote}" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue