cookbook 'incron', '= 0.3.4'
incron (6) Versions 0.3.4 Follow4
Installs and configures incron
cookbook 'incron', '= 0.3.4', :supermarket
knife supermarket install incron
knife supermarket download incron
chef-incron
Installs the incron package and starts the incrond service.
About incron
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.
Attributes
default
-
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 tovim
-
default['incron']['service_name']
is the name of the system service, defaults toincron
on debian andincrond
on rhel platforms
Recipes
default
This will install the incron package and start the service.
Resources
incron_d
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
incron_user
This resource helps you manage the allow and deny list for incron.
incron_user "root" do action :allow end
License, Author and Contributor(s)
License: MIT
Author: David Radcliffe
Contributor: Salvatore Poliandro III
Dependent cookbooks
yum >= 0.0.0 |
yum-repoforge >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
0.3.4 failed this metric
FC017: LWRP does not notify when updated: /tmp/cook/a301783073c3b8dd0464f4fb/incron/providers/d.rb:23
FC017: LWRP does not notify when updated: /tmp/cook/a301783073c3b8dd0464f4fb/incron/providers/user.rb:5
FC017: LWRP does not notify when updated: /tmp/cook/a301783073c3b8dd0464f4fb/incron/providers/user.rb:9
0.3.4 failed this metric
FC017: LWRP does not notify when updated: /tmp/cook/a301783073c3b8dd0464f4fb/incron/providers/user.rb:5
FC017: LWRP does not notify when updated: /tmp/cook/a301783073c3b8dd0464f4fb/incron/providers/user.rb:9