Fire onchange for present and exists states

Even if no attribute is changed.
Fixes #750.
remotes/origin/4.10
Darko Poljak 6 years ago
parent 8ee667f57f
commit f6b318bb00
  1. 4
      cdist/conf/type/__file/gencode-remote
  2. 1
      docs/changelog

@ -79,6 +79,10 @@ case "$state_should" in
fi
fi
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:
* Type __ssh_authorized_keys: Properly handle multiple --option params (Steven Armstrong)
* 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
* Type __clean_path: Fix list explorer exit code if path not directory or does not exist (Ander Punnar)

Loading…
Cancel
Save