Merge "Configurable logrotate rotation interval and count"

This commit is contained in:
Zuul 2020-03-03 11:37:04 +00:00 committed by Gerrit Code Review
commit bca303cacd
3 changed files with 11 additions and 2 deletions

View File

@ -88,3 +88,6 @@ fluentd_default_volumes:
kolla_toolbox_extra_volumes: "{{ default_extra_volumes }}"
cron_extra_volumes: "{{ default_extra_volumes }}"
fluentd_extra_volumes: "{{ default_extra_volumes }}"
cron_logrotate_rotation_interval: "weekly"
cron_logrotate_rotation_count: 6

View File

@ -1,6 +1,6 @@
weekly
{{ cron_logrotate_rotation_interval }}
rotate 6
rotate {{ cron_logrotate_rotation_count }}
copytruncate

View File

@ -0,0 +1,6 @@
---
features:
- >
Adds configuration variables ``cron_logrotate_rotation_interval`` and
``cron_logrotate_rotation_count`` to set the logrotate rotation interval
and count.