Skip to content
Snippets Groups Projects
Commit f3d54258 authored by Michal Arbet's avatar Michal Arbet Committed by Radosław Piliszek
Browse files

Make cron logfile minsize,maxsize configurable

This patch is moving minsize and maxsize logrotate
options to defaults and use them in template.

Change-Id: Ic2dfc747faedef8a7a4bc5e61db7c0cb5bf93e88
parent 3101c5ab
No related branches found
No related tags found
No related merge requests found
......@@ -95,6 +95,8 @@ kolla_toolbox_extra_volumes: "{{ default_extra_volumes }}"
cron_extra_volumes: "{{ default_extra_volumes }}"
fluentd_extra_volumes: "{{ default_extra_volumes }}"
cron_logrotate_log_maxsize: "100M"
cron_logrotate_log_minsize: "30M"
cron_logrotate_rotation_interval: "weekly"
cron_logrotate_rotation_count: 6
......
......@@ -12,9 +12,9 @@ notifempty
missingok
minsize 30M
minsize {{ cron_logrotate_log_minsize }}
maxsize 100M
maxsize {{ cron_logrotate_log_maxsize }}
su root kolla
......
---
features:
- |
Adds new variables to be used by the common role,
``cron_logrotate_log_minsize`` and ``cron_logrotate_log_maxsize``.
They allow to configure global logrotate's minsize and maxsize
options.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment