From 968d19bb301678863cab04a84c3008f8f975327a Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Fri, 5 Jun 2020 11:02:50 +0200 Subject: [PATCH] mongodb: fix logrotate patterm on Debian buster --- CHANGELOG.md | 2 ++ mongodb/templates/logrotate_buster.j2 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc4a85b3..1e556c71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ The **patch** part changes incrementally at each release. ## [Unreleased] ### Added + * lxc-php: Install php-sqlite by default * lxc-php: Don't disable putenv() by default in PHP settings * mysql: activate binary logs by specifying log_bin path @@ -35,6 +36,7 @@ The **patch** part changes incrementally at each release. * certbot: restore compatibility with old Nginx * lxc-php: Install opensmtpd as intended +* mongodb: fix logrotate patterm on Debian buster ### Removed diff --git a/mongodb/templates/logrotate_buster.j2 b/mongodb/templates/logrotate_buster.j2 index fe5926a0..8239e880 100644 --- a/mongodb/templates/logrotate_buster.j2 +++ b/mongodb/templates/logrotate_buster.j2 @@ -1,6 +1,6 @@ # {{ ansible_managed }} -/var/log/mongodb/mongodb.log { +/var/log/mongodb/mongod.log { daily missingok rotate 365