From d58d3ae8d7a994805ce47d6d57a38c40b1aacae4 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jan 2024 09:37:10 +0100 Subject: [PATCH] actualisation test goss s-itil --- goss/s-itil.yaml | 127 ++++++++++++++++++++++++++--------------------- 1 file changed, 70 insertions(+), 57 deletions(-) diff --git a/goss/s-itil.yaml b/goss/s-itil.yaml index 1cde445..d1a4ecb 100644 --- a/goss/s-itil.yaml +++ b/goss/s-itil.yaml @@ -1,59 +1,72 @@ -#package: -# systemd-journal-remote: -# installed: true file: - /var/www/html/glpi: - exists: true - mode: "0755" - owner: www-data - group: www-data - filetype: directory - - /var/www/html/glpicli: - exists: true - mode: "0775" - owner: www-data - group: www-data - filetype: directory - - /var/www/html/glpi/plugins: - exists: true - mode: "0777" - filetype: directory - - /var/www/html/glpicli/GLPI-Agent-1.7-x64.msi: - exists: true - #mode: "0777" - filetype: file - - /var/www/html/index.nginx-debian.html: - exists: true - mode: "0775" - owner: www-data - group: www-data - filetype: file -service: - mariadb: - enabled: true - running: true - - nginx: - enabled: true - running: true - - zabbix-agent: - enable: true - running: true - - systemd-journal-upload.service: - enabled: true - running: true + /etc/nginx/sites-enabled/default: + exists: false + contents: [] + /etc/nginx/sites-enabled/glpi: + exists: true + mode: "0644" + owner: root + group: root + filetype: file + contents: [] + /var/www/html/glpi: + exists: true + mode: "0755" + owner: www-data + group: www-data + filetype: directory + contents: [] + /var/www/html/glpicli: + exists: true + mode: "0775" + owner: www-data + group: www-data + filetype: directory + contents: [] + /var/www/html/glpicli/GLPI-Agent-1.7-x64.msi: + exists: true + mode: "0644" + owner: root + group: root + filetype: file + contents: [] port: - tcp:10050: - listening: true - ip: - - 0.0.0.0 - tcp:10050: - listening: true - ip: - - '::' + tcp:22: + listening: true + ip: + - 0.0.0.0 + tcp:80: + listening: true + ip: + - 0.0.0.0 + tcp:3306: + listening: true + ip: + - 127.0.0.1 + tcp:9000: + listening: true + ip: + - 127.0.0.1 + tcp:10050: + listening: true + ip: + - 0.0.0.0 +service: + mariadb.service: + enabled: true + running: true + nginx: + enabled: true + running: true + php8.2-fpm.service: + enabled: true + running: true + ssh: + enabled: true + running: true + systemd-journal-upload: + enabled: true + running: true + zabbix-agent: + enabled: true + running: true