cron_access resource can be used to manage the
Note: This resource was previously a Chef definition cron_manage. The legacy name will still function, but should be updated.
:allow- Add the user to the cron.allow file.
:deny- Add the user to the cron.deny file (default).
|String||Username that you want to control. If not provided the resource name will be used as the user.|
The following will add the user mike to the
cron_access 'mike' do action :allow end
The following will add the user john to the
cron_access "Make sure john can't touch cron" do user 'john' action :deny #optional, deny is the default end