From f1d0ad44faf97988ab33f436789f3d5e48b626ca Mon Sep 17 00:00:00 2001 From: Corentin Date: Wed, 9 Nov 2022 16:58:56 +0100 Subject: [PATCH] modif dossier + ajout script goss.yaml --- goss.yaml => AP21/goss.yaml | 0 installgpli.sh => AP21/installgpli.sh | 0 .../sauvegarde_script.sh | 0 {sv => AP21/sv}/dump.latest.tgz | Bin {sv => AP21/sv}/gsbvisite-dump-4.sql.gz | Bin {sv => AP21/sv}/gsbvisite-dump-4.sql.gzcp | Bin AP31/goss.yaml | 90 ++++++++++++++++++ 7 files changed, 90 insertions(+) rename goss.yaml => AP21/goss.yaml (100%) rename installgpli.sh => AP21/installgpli.sh (100%) rename sauvegarde_script.sh => AP21/sauvegarde_script.sh (100%) rename {sv => AP21/sv}/dump.latest.tgz (100%) rename {sv => AP21/sv}/gsbvisite-dump-4.sql.gz (100%) rename {sv => AP21/sv}/gsbvisite-dump-4.sql.gzcp (100%) create mode 100644 AP31/goss.yaml diff --git a/goss.yaml b/AP21/goss.yaml similarity index 100% rename from goss.yaml rename to AP21/goss.yaml diff --git a/installgpli.sh b/AP21/installgpli.sh similarity index 100% rename from installgpli.sh rename to AP21/installgpli.sh diff --git a/sauvegarde_script.sh b/AP21/sauvegarde_script.sh similarity index 100% rename from sauvegarde_script.sh rename to AP21/sauvegarde_script.sh diff --git a/sv/dump.latest.tgz b/AP21/sv/dump.latest.tgz similarity index 100% rename from sv/dump.latest.tgz rename to AP21/sv/dump.latest.tgz diff --git a/sv/gsbvisite-dump-4.sql.gz b/AP21/sv/gsbvisite-dump-4.sql.gz similarity index 100% rename from sv/gsbvisite-dump-4.sql.gz rename to AP21/sv/gsbvisite-dump-4.sql.gz diff --git a/sv/gsbvisite-dump-4.sql.gzcp b/AP21/sv/gsbvisite-dump-4.sql.gzcp similarity index 100% rename from sv/gsbvisite-dump-4.sql.gzcp rename to AP21/sv/gsbvisite-dump-4.sql.gzcp diff --git a/AP31/goss.yaml b/AP31/goss.yaml new file mode 100644 index 0000000..abcce49 --- /dev/null +++ b/AP31/goss.yaml @@ -0,0 +1,90 @@ +package: + adminer: + installed: true + versions: + - 4.7.9-2 + apache2: + installed: true + versions: + - 2.4.54-1~deb11u1 +port: + tcp:22: + listening: true + ip: + - 0.0.0.0 + tcp6:22: + listening: true + ip: + - '::' + tcp6:80: + listening: true + ip: + - '::' + tcp6:443: + listening: true + ip: + - '::' +service: + apache2: + enabled: true + running: true + mysql: + enabled: true + running: true + ssh: + enabled: true + running: true + sshd: + enabled: true + running: true +user: + mysql: + exists: true + uid: 108 + gid: 114 + groups: + - mysql + home: /nonexistent + shell: /bin/false + sshd: + exists: true + uid: 107 + gid: 65534 + groups: + - nogroup + home: /run/sshd + shell: /usr/sbin/nologin +group: + mysql: + exists: true + gid: 114 + ssh: + exists: true + gid: 111 +dns: + A:ns.sio.lan: + resolvable: true + addrs: + - 10.121.38.7 + timeout: 500 + server: 10.121.38.7 +process: + apache2: + running: true + sshd: + running: true +interface: + eth0: + exists: true + addrs: + - 172.16.0.74/24 + - fe80::b0f1:7ff:fe07:580e/64 + mtu: 1500 +http: + http://ap31-wiki.sio.lan/dokuwiki: + status: 200 + allow-insecure: false + no-follow-redirects: false + timeout: 5000 + body: + - AP31