forked from ungleich-public/cdist
		
	Merge branch 'master' into autorequire
This commit is contained in:
		
				commit
				
					
						f90178428e
					
				
			
		
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -31,6 +31,8 @@ if [ -f "$__object/parameter/source" ]; then
 | 
				
			||||||
      remote_cksum="$(cat "$__object/explorer/cksum")"
 | 
					      remote_cksum="$(cat "$__object/explorer/cksum")"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if [ "$local_cksum" != "$remote_cksum" ]; then
 | 
					      if [ "$local_cksum" != "$remote_cksum" ]; then
 | 
				
			||||||
 | 
					         # Export target_host so remote_copy script has access to it
 | 
				
			||||||
 | 
					         echo "export __target_host=\"$__target_host\""
 | 
				
			||||||
         echo "$__remote_copy" "$source" "${__target_host}:${destination}"
 | 
					         echo "$__remote_copy" "$source" "${__target_host}:${destination}"
 | 
				
			||||||
      fi
 | 
					      fi
 | 
				
			||||||
   else
 | 
					   else
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue