Watch files and translate the changes into salt events.
New in version 2019.2.0.
watchdog Python module >= 0.8.3
A dummy class to make the import work
Watch the configured directories
Example Config
beacons:
watchdog:
- directories:
/path/to/dir:
mask:
- create
- modify
- delete
- move
The mask list can contain the following events (the default mask is create, modify delete, and move): * create - File or directory is created in watched directory * modify - The watched directory is modified * delete - File or directory is deleted from watched directory * move - File or directory is moved or renamed in the watched directory
Validate the beacon configuration
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 3004