Skip to content

ENT-14692: File event types - #3810

Open
victormlg wants to merge 6 commits into
cfengine:masterfrom
victormlg:file_event_types
Open

victormlg wants to merge 6 commits into
cfengine:masterfrom
victormlg:file_event_types

Conversation

@victormlg

Copy link
Copy Markdown
Contributor

Added docs entry for the following file event types:

  • file_created
  • file_modified
  • file_content_modified
  • file_permissions_changed
  • file_owner_changed
  • file_size_exceeds

file_created fires when a file appears at the watched path.

Ticket: ENT-14692
Signed-off-by: Victor Moene <victor.moene@northern.tech>
file_modified fires when the modification time of the watched file changes.

Ticket: ENT-14692
Signed-off-by: Victor Moene <victor.moene@northern.tech>
file_content_modified fires when the SHA-256 hash of the content of the
watched regular file changes.

Ticket: ENT-14692
Signed-off-by: Victor Moene <victor.moene@northern.tech>
file_permissions_changed fires when the permission bits (07777) of the
watched file change.

Ticket: ENT-14692
Signed-off-by: Victor Moene <victor.moene@northern.tech>
file_owner_changed fires when the owning user or group of the watched file
changes.

Ticket: ENT-14692
Signed-off-by: Victor Moene <victor.moene@northern.tech>
file_size_exceeds fires when the size of the watched file grows above
size_threshold bytes. Also documented the size_threshold attribute it
requires.

Ticket: ENT-14692
Signed-off-by: Victor Moene <victor.moene@northern.tech>
@cf-bottom

Copy link
Copy Markdown

Thank you for submitting a PR! Maybe @craigcomstock can review this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants