1
0
Fork 0
mirror of synced 2025-03-31 17:02:01 -04:00
This commit is contained in:
Georg 2024-08-22 13:26:57 +02:00 committed by GitHub
commit 50355cf893
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 0 deletions
logrotate
test/integration/default/controls

View file

@ -14,6 +14,7 @@ RedHat:
default_config:
dateext: true
Suse:
service: null
login_records_jobs: false
default_config:
dateext: true

View file

@ -3,6 +3,8 @@
{% from "logrotate/map.jinja" import logrotate with context %}
{%- if logrotate.service is not none %}
include:
- logrotate.config
- logrotate.install
@ -15,3 +17,5 @@ logrotate:
- pkg: logrotate-pkg
- file: logrotate-config
- file: logrotate-directory
{%- endif %}

View file

@ -49,6 +49,8 @@ control 'logrotate.service.running' do
'cronie'
when 'redhat', 'fedora'
'crond'
when 'suse'
'logrotate.timer'
else
'cron'
end