diff --git a/templates/135_filesys-logfiles.yaml.tt2 b/templates/135_filesys-logfiles.yaml.tt2 index 2cc4d9c..6f00c20 100644 --- a/templates/135_filesys-logfiles.yaml.tt2 +++ b/templates/135_filesys-logfiles.yaml.tt2 @@ -162,3 +162,24 @@ command: - '!/./' stderr: - '!/./' + + "if test -e /var/log/ngcp/mysql/; then find /var/log/ngcp/mysql/ -type f -size +0 -perm /o+rwx; fi": + exit-status: 0 + stdout: + - '!/./' + stderr: + - '!/./' + + "if test -e /var/log/ngcp/mysql/; then find /var/log/ngcp/mysql/ -size +0 -type f ! -user mysql; fi": + exit-status: 0 + stdout: + - '!/./' + stderr: + - '!/./' + + "if test -e /var/log/ngcp/mysql/; then find /var/log/ngcp/mysql/ -size +0 -type f ! -group adm; fi": + exit-status: 0 + stdout: + - '!/./' + stderr: + - '!/./'