forked from ungleich-public/cdist
		
	pass hostname to filter
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								9c60a81d8a
							
						
					
				
			
			
				commit
				
					
						471b8a7308
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -39,13 +39,13 @@ fi
 | 
			
		|||
i=0
 | 
			
		||||
while [ $# -ge 1 ]; do
 | 
			
		||||
   if [ "$parallel" ]; then
 | 
			
		||||
      cdist-deploy-to "$1" | filter &
 | 
			
		||||
      cdist-deploy-to "$1" | filter "$1" &
 | 
			
		||||
      # Record pid and host for use later
 | 
			
		||||
      eval pid_$i=$!
 | 
			
		||||
      eval host_$i=\$1
 | 
			
		||||
      i=$((i+1))
 | 
			
		||||
   else
 | 
			
		||||
      cdist-deploy-to "$1" | filter
 | 
			
		||||
      cdist-deploy-to "$1" | filter "$1"
 | 
			
		||||
   fi
 | 
			
		||||
   shift
 | 
			
		||||
done
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue