Browse Source

fix logrotate service name to cron instead of crond

patch-1
Niels Abspoel 10 years ago
parent
commit
6f1b01d59f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      logrotate/map.jinja

+ 2
- 2
logrotate/map.jinja View File

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

Loading…
Cancel
Save