salt
salt copied to clipboard
feature request: exclude capabilities for inotify beacon
It would be useful to be able to provide a list of files/dirs that you don't want the inotify beacon to send events for. Wildcards would be included in this feature.
Something like this:
inotify:
/etc:
recurse: True
mask:
- modify
- delete
- dont_follow
exclude:
- file: /etc/resolv.conf.dhclient-*
- file: /etc/krb5.keytab
- dir: /etc/path/to/some/dir
@schlagify, @garethgreenaway, thanks for the issue and for implementing it.