forked from ungleich-public/cdist
		
	Fix absent state for verbose in ccollect_source type.
This commit is contained in:
		
					parent
					
						
							
								1501590f88
							
						
					
				
			
			
				commit
				
					
						7c55364cc2
					
				
			
		
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -40,7 +40,9 @@ echo "$source" | __file "$source_file" --source - --state "$state"
 | 
			
		|||
 | 
			
		||||
################################################################################
 | 
			
		||||
# Booleans
 | 
			
		||||
if [ -f "$__object/parameter/verbose" ]; then
 | 
			
		||||
if [ "${state}" = "absent" ]; then
 | 
			
		||||
    verbosestate="absent"
 | 
			
		||||
elif [ -f "$__object/parameter/verbose" ]; then
 | 
			
		||||
    verbosestate="present"
 | 
			
		||||
else
 | 
			
		||||
    verbosestate="absent"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue