Merge "Add a suffix for tmpwatch" into stable/stein

This commit is contained in:
Zuul 2019-07-18 23:50:11 +00:00 committed by Gerrit Code Review
commit 4305cf9075
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ outputs:
-X "/var/log/containers/*/*log" \
-X "/var/log/containers/*/*/*log" \
-X "/var/log/containers/*/*err" \
{{ LogrotatePurgeAfterDays|int +1 }} \
{{ LogrotatePurgeAfterDays|int +1 }}d \
/var/log/containers/ 2>&1 | logger -t container-tmpwatch
vars:
LogrotatePurgeAfterDays: {get_param: LogrotatePurgeAfterDays}