1
0
Fork 0
mirror of synced 2024-12-21 21:51:09 -05:00

Merge pull request #10 from galet/master

Change the default service name to 'crond' for RHEL based systems.
This commit is contained in:
Niels Abspoel 2015-04-02 20:21:06 +02:00
commit 8f64b9ab03

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')) %}