Watch files and translate the changes into salt events.
New in version 2019.2.0.
watchdog Python module >= 0.8.3
Called when a file or directory is created.
FileCreatedEvent) -- Event representing file/directory creation.
Called when a file or directory is deleted.
FileDeletedEvent) -- Event representing file/directory deletion.
Called when a file or directory is modified.
FileModifiedEvent) -- Event representing file/directory modification.
Called when a file or a directory is moved or renamed.
FileMovedEvent) -- Event representing file/directory movement.
Watch the configured directories
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