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

{% 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',
}, },
'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',

Loading…
Cancel
Save