salt icon indicating copy to clipboard operation
salt copied to clipboard

feature request: exclude capabilities for inotify beacon

Open ksmitdevops opened this issue 11 years ago • 1 comments

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

ksmitdevops avatar Oct 04 '15 20:10 ksmitdevops

@schlagify, @garethgreenaway, thanks for the issue and for implementing it.

jfindlay avatar Oct 07 '15 19:10 jfindlay