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