forked from ungleich-public/cdist
		
	Fire onchange for present and exists states
Even if no attribute is changed. Fixes #750.
This commit is contained in:
		
					parent
					
						
							
								8ee667f57f
							
						
					
				
			
			
				commit
				
					
						f6b318bb00
					
				
			
		
					 2 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -79,6 +79,10 @@ case "$state_should" in
 | 
				
			||||||
            fi
 | 
					            fi
 | 
				
			||||||
        fi
 | 
					        fi
 | 
				
			||||||
    done
 | 
					    done
 | 
				
			||||||
 | 
					    if [ -f "$__object/files/set-attributes" ]; then
 | 
				
			||||||
 | 
					        # set-attributes is created if file is created or uploaded in gencode-local
 | 
				
			||||||
 | 
					        fire_onchange=1
 | 
				
			||||||
 | 
					    fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ;;
 | 
					    ;;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,6 +4,7 @@ Changelog
 | 
				
			||||||
next:
 | 
					next:
 | 
				
			||||||
	* Type __ssh_authorized_keys: Properly handle multiple --option params (Steven Armstrong)
 | 
						* Type __ssh_authorized_keys: Properly handle multiple --option params (Steven Armstrong)
 | 
				
			||||||
	* Debugging: Add debug dump helper script (Darko Poljak)
 | 
						* Debugging: Add debug dump helper script (Darko Poljak)
 | 
				
			||||||
 | 
						* Type __file: Bugfix: fire onchange for present and exists states if no attribute is changed (Darko Poljak)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
4.10.8: 2019-04-06
 | 
					4.10.8: 2019-04-06
 | 
				
			||||||
	* Type __clean_path: Fix list explorer exit code if path not directory or does not exist (Ander Punnar)
 | 
						* Type __clean_path: Fix list explorer exit code if path not directory or does not exist (Ander Punnar)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue