Open bschonec opened 3 months ago
LGTM. Won't approve since I don't use cron anymore :D
Indeed. Unfortunately, I'm still stuck in the past....
@TheMeier , are the tests running properly? I see a bunch of "Could not retrieve fact ipaddress" errors.
ipaddress
is a legacy fact - it is no longer generated by default. Any tests that use it need to be updated.
The actual test failures don't appear to be related to that.
Whoops, I put the management in cron.allow instead of cron.deny. Fixed with this updated branch.
Pull Request (PR) description
Ability to manage the existence of /etc/cron.deny. Some CIS audits recommend/require that if no entries are made to /etc/cron.deny then the file should be deleted.
This Pull Request (PR) fixes the following issues
Allows the deletion of /etc/cron.deny.
Reference #145