From bb9a0cc7c11e0f5fcbc174a60dfe8d1fc1f13505 Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Thu, 25 Nov 2021 15:33:03 +0100 Subject: [PATCH] TT#152101 fix rtcengine template typo Change-Id: I3a46e1f0fcb253ba6586d617b859e0ac5bb70c14 (cherry picked from commit d527f998f346d005d3e5ed660c2c16289d4efc22) --- templates/135_filesys-logfiles.yaml.tt2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/135_filesys-logfiles.yaml.tt2 b/templates/135_filesys-logfiles.yaml.tt2 index d9d0091..f27a7c2 100644 --- a/templates/135_filesys-logfiles.yaml.tt2 +++ b/templates/135_filesys-logfiles.yaml.tt2 @@ -108,7 +108,7 @@ command: # optionally existing subdirectories -[% FOR dir IN ['/var/log/ngcp/ngcp-rtcengine/' -%] + [% dir = '/var/log/ngcp/ngcp-rtcengine/' -%] "if test -e [% dir %]; then find [% dir %] -maxdepth 1 -type f -size +0 -perm /o+rwx; fi": exit-status: 0 stdout: @@ -129,7 +129,6 @@ command: - '!/./' stderr: - '!/./' -[% END -%] "if test -e /var/log/ngcp/nginx/; then find /var/log/ngcp/nginx/ -type f -perm /o+rwx; fi": exit-status: 0