mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #9315 from shish/patch-1
Look for crontabs in /usr/lib/cron/tabs when on MacOS
This commit is contained in:
commit
8e6366daac
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user