state_should is being populated in manifest, if not given
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								18eaa476e4
							
						
					
				
			
			
				commit
				
					
						2b0c273715
					
				
			
		
					 1 changed files with 1 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -19,12 +19,7 @@
 | 
			
		|||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
if [ -f "$__object/parameter/state" ]; then
 | 
			
		||||
    state_should="$(cat "$__object/parameter/state")"
 | 
			
		||||
else
 | 
			
		||||
    state_should="present"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
state_should="$(cat "$__object/parameter/state")"
 | 
			
		||||
state_is=$(cat "$__object/explorer/state")
 | 
			
		||||
 | 
			
		||||
# Nothing todo, go away
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue