From 8a81aac1e26b8e2c1479323c13a30dedb5baaac0 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jan 2024 14:34:46 +0100 Subject: [PATCH] modif test agoss --- goss/s-fog.yaml | 48 +++++++++++++++++++++++++++++++++--------------- 1 file changed, 33 insertions(+), 15 deletions(-) diff --git a/goss/s-fog.yaml b/goss/s-fog.yaml index 4929081..0ca9ddd 100644 --- a/goss/s-fog.yaml +++ b/goss/s-fog.yaml @@ -1,18 +1,28 @@ -interface: - enp0s3: - exists: true - addrs: - - 192.168.99.16/24 -interface: - enp0s8: - exists: true - addrs: - - 172.16.0.16/24 -interface: - enp0s9: - exists: true - addrs: - - 172.16.64.16/24 +package: + apache2: + installed: true + versions: + - 2.4.57-2 + tftpd-hpa: + installed: true + versions: + - 5.2+20150808-1.4 +port: + tcp:80: + listening: true + ip: + - 0.0.0.0 + tcp:443: + listening: true + ip: + - 0.0.0.0 +service: + apache2: + enabled: true + running: true + tftpd-hpa: + enabled: true + running: true command: ping -c 4 192.168.99.99: exit-status: 0 @@ -26,3 +36,11 @@ command: - 0% packet loss stderr: [] timeout: 10000 +process: + apache2: + running: true +interface: + enp0s9: + exists: true + addrs: + - 172.16.64.16/24