1
0
Fork 0

fix logrotate service name to cron instead of crond

This commit is contained in:
Niels Abspoel 2015-01-06 20:06:50 +01:00
parent 97faabaadf
commit 6f1b01d59f
1 changed files with 2 additions and 2 deletions

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',