fix logrotate service name to cron instead of crond
This commit is contained in:
parent
97faabaadf
commit
6f1b01d59f
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
{% 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',
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
},
|
},
|
||||||
'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…
Reference in a new issue