Merge pull request #9315 from shish/patch-1

Look for crontabs in /usr/lib/cron/tabs when on MacOS
This commit is contained in:
Pedro Algarvio 2013-12-18 01:28:14 -08:00
commit 8e6366daac

View File

@ -129,6 +129,9 @@ def _get_cron_info():
elif __grains__['os'] == 'Solaris':
group = 'root'
crontab_dir = '/var/spool/cron/crontabs'
elif __grains__['os'] == 'MacOS':
group = 'wheel'
crontab_dir = '/usr/lib/cron/tabs'
else:
group = 'root'
crontab_dir = '/var/spool/cron'