inherit log level from cdist install during nested cdist config
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								f368539447
							
						
					
				
			
			
				commit
				
					
						4851c0517f
					
				
			
		
					 1 changed files with 14 additions and 2 deletions
				
			
		| 
						 | 
					@ -23,8 +23,20 @@ remote_exec="$__type/files/remote/exec"
 | 
				
			||||||
remote_copy="$__type/files/remote/copy"
 | 
					remote_copy="$__type/files/remote/copy"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cdist_args=""
 | 
					cdist_args=""
 | 
				
			||||||
[ "$__verbose" = "yes" ] && cdist_args="-vv"
 | 
					case "$__cdist_loglevel" in
 | 
				
			||||||
[ "$__debug" = "yes" ] && cdist_args="-d"
 | 
					   20)
 | 
				
			||||||
 | 
					      cdist_args="-v"
 | 
				
			||||||
 | 
					   ;;
 | 
				
			||||||
 | 
					   15)
 | 
				
			||||||
 | 
					      cdist_args="-vv"
 | 
				
			||||||
 | 
					   ;;
 | 
				
			||||||
 | 
					   10)
 | 
				
			||||||
 | 
					      cdist_args="-vvv"
 | 
				
			||||||
 | 
					   ;;
 | 
				
			||||||
 | 
					   5)
 | 
				
			||||||
 | 
					      cdist_args="-vvvv"
 | 
				
			||||||
 | 
					   ;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cat << DONE
 | 
					cat << DONE
 | 
				
			||||||
cdist config \
 | 
					cdist config \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue