forked from ungleich-public/cdist
		
	match on name: not name, may be invalid
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								db425d3925
							
						
					
				
			
			
				commit
				
					
						d49e481a87
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -38,7 +38,7 @@ get_current_value() {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cd "$__object/parameter"
 | 
					cd "$__object/parameter"
 | 
				
			||||||
if grep -q "^$name" "$__object/explorer/group"; then
 | 
					if grep -q "^${name}:" "$__object/explorer/group"; then
 | 
				
			||||||
   # group exists, only change changed values
 | 
					   # group exists, only change changed values
 | 
				
			||||||
   for property in $(ls .); do
 | 
					   for property in $(ls .); do
 | 
				
			||||||
      current_value=$(get_current_value "$property")
 | 
					      current_value=$(get_current_value "$property")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue