Installs the incron package and starts the incrond service.
Incron is an "inotify cron" system. It consists of a daemon and a table manipulator. You can use it a similar way as the regular cron. The difference is that the inotify cron handles filesystem events rather than time periods.
default['incron']['allowed_users'] is an array of users allowed, defaults to ["root"] default['incron']['denied_users'] is an array of users denied, defaults to "[]" default['incron']['editor'] is the editor user editing a job via command line, defaults to vim default['incron']['service_name'] is the name of the system service, defaults to "incron" on debian and 'incrond' on rhel platforms
This will install the incron package and start the service.
This resource helps you create a system incron table.
incron_d "notify_home_changes" do
path "/home"
mask "IN_MODIFY"
command "/usr/local/bin/abcd"
end
This resource helps you manage the allow and deny list for incron.
incron_user "root" do
action :allow
end
License: MIT
Author: David Radcliffe Contributor: Salvatore Poliandro III