Browse Source

Change the default service name to 'crond' for RHEL based systems.

tags/v0.9.0
Michal Galet 9 years ago
parent
commit
73c86743e2
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      logrotate/map.jinja

+ 2
- 6
logrotate/map.jinja View File

@@ -1,7 +1,7 @@
{% set logrotate = salt['grains.filter_by']({
'RedHat': {
'pkg' : 'logrotate',
'service' : 'cron',
'service' : 'crond',
'conf_file' : '/etc/logrotate.conf',
'include_dir' : '/etc/logrotate.d',
'user' : 'root',
@@ -31,8 +31,4 @@
'user' : 'root',
'group' : 'root',
},
}, merge=salt['grains.filter_by']({
'Fedora': {
'service' : 'crond',
},
}, grain='os', merge=salt['pillar.get']('logrotate:lookup'))) %}
}, merge=salt['pillar.get']('logrotate:lookup')) %}

Loading…
Cancel
Save