Merge "Configurable logrotate rotation interval and count"
This commit is contained in:
commit
bca303cacd
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
weekly
|
||||
{{ cron_logrotate_rotation_interval }}
|
||||
|
||||
rotate 6
|
||||
rotate {{ cron_logrotate_rotation_count }}
|
||||
|
||||
copytruncate
|
||||
|
||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user