diff --git a/templates/135_filesys-logfiles.yaml.tt2 b/templates/135_filesys-logfiles.yaml.tt2 index bc14f99..f21121a 100644 --- a/templates/135_filesys-logfiles.yaml.tt2 +++ b/templates/135_filesys-logfiles.yaml.tt2 @@ -1,5 +1,12 @@ file: + /var/log/messages: + exists: true + mode: "0640" + owner: root + group: adm + filetype: file + /var/log/syslog: exists: true mode: "0640" @@ -170,26 +177,3 @@ command: - '!/./' stderr: - '!/./' - - # /var/log/messages - - "find /var/log/ -type f -name messages ! -user root": - exit-status: 0 - stdout: - - '!/./' - stderr: - - '!/./' - - "find /var/log/ -type f -name messages ! -group adm": - exit-status: 0 - stdout: - - '!/./' - stderr: - - '!/./' - - "find /var/log/ -type f -name messages ! -perm 640": - exit-status: 0 - stdout: - - '!/./' - stderr: - - '!/./'