Browse Source

Merge pull request #1 from aboe76/master

fix logrotate service name to cron instead of crond
tags/v0.9.0
Wolodja Wentland 10 years ago
parent
commit
bcd4aed71c
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