forked from ungleich-public/cdist
		
	[type/__postgres_conf] Accept empty values
This commit is contained in:
		
					parent
					
						
							
								12c2995494
							
						
					
				
			
			
				commit
				
					
						bef1433ba3
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -57,7 +57,7 @@ psql_cmd() {
 | 
			
		|||
case ${state_should}
 | 
			
		||||
in
 | 
			
		||||
	(present)
 | 
			
		||||
		test -s "${__object:?}/parameter/value" || {
 | 
			
		||||
		test -n "${__object:?}/parameter/value" || {
 | 
			
		||||
			echo 'Missing required parameter --value' >&2
 | 
			
		||||
			exit 1
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue