1
0
Fork 0
mirror of synced 2024-12-22 06:01:08 -05:00

Merge pull request #1 from aboe76/master

fix logrotate service name to cron instead of crond
This commit is contained in:
Wolodja Wentland 2015-01-06 22:46:16 +01:00
commit bcd4aed71c

View file

@ -1,7 +1,7 @@
{% set logrotate = salt['grains.filter_by']({ {% set logrotate = salt['grains.filter_by']({
'RedHat': { 'RedHat': {
'pkg' : 'logrotate', 'pkg' : 'logrotate',
'service' : 'crond', 'service' : 'cron',
'conf_file' : '/etc/logrotate.conf', 'conf_file' : '/etc/logrotate.conf',
'include_dir' : '/etc/logrotate.d', 'include_dir' : '/etc/logrotate.d',
'user' : 'root', 'user' : 'root',
@ -17,7 +17,7 @@
}, },
'Debian': { 'Debian': {
'pkg' : 'logrotate', 'pkg' : 'logrotate',
'service' : 'crond', 'service' : 'cron',
'conf_file' : '/etc/logrotate.conf', 'conf_file' : '/etc/logrotate.conf',
'include_dir' : '/etc/logrotate.d', 'include_dir' : '/etc/logrotate.d',
'user' : 'root', 'user' : 'root',