Alexandros Kosiaris has submitted this change and it was merged. Change subject: service::node: only rotate log files ......................................................................
service::node: only rotate log files Otherwise we might end up also matching .*gz files Bug: T148436 Change-Id: I8ed0030d17dd4c6b5608440423838761d0af7d29 --- M modules/service/templates/logrotate.erb 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Alexandros Kosiaris: Verified; Looks good to me, approved diff --git a/modules/service/templates/logrotate.erb b/modules/service/templates/logrotate.erb index e4d6bf1..2e74ae3 100644 --- a/modules/service/templates/logrotate.erb +++ b/modules/service/templates/logrotate.erb @@ -1,6 +1,6 @@ # logrotate(8) config for <%= @title %> -<%= @local_logdir %>/* { +<%= @local_logdir %>/*.log { daily copytruncate missingok -- To view, visit https://gerrit.wikimedia.org/r/285615 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8ed0030d17dd4c6b5608440423838761d0af7d29 Gerrit-PatchSet: 3 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Alexandros Kosiaris <akosia...@wikimedia.org> Gerrit-Reviewer: Alexandros Kosiaris <akosia...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits