diff --git a/README.md b/README.md index be493bf..cae1420 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # sdis29-1 ## Dépôt Git des programmes sources - SDIS 29. -Version: v.0.0.1d-jb +Version: v.0.0.1e-ge ### Création initiale des serveurs : @@ -11,11 +11,11 @@ Version: v.0.0.1d-jb * Création du serveur **ap31-mon** via un clone intégral d'une template. * Définition de l'IP et ajout des clés SSH. * Disque redimensionné de 2G à 10Go. + * Doublement de la RAM sur **ap31-mon**. (1024Mo --> 2048Mo) ### Installation des paquets : * **ap31-prod** : mariadb-server, tomcat10, zabbix-agent, qemu-guest-agent * **ap31-test** : mariadb-server, tomcat10, phpmyadmin, zabbix-agent, qemu-guest-agent * **ap31-mon** : Zabbix-server-mysql, mariadb-server, zabbix-server, zabbix-frontend-php, zabbix-agent, qemu-guest-agent - - + * Ajout de goss et création de fichiers de test fonctionnels pour **ap31-prod** et **ap31-test**. diff --git a/goss_ap31-prod.yaml b/goss_ap31-prod.yaml new file mode 100755 index 0000000..9cf351b --- /dev/null +++ b/goss_ap31-prod.yaml @@ -0,0 +1,69 @@ +# goss.yaml, ap31-prod +package: + mariadb-server: + installed: true + versions: + - 1:10.11.6-0+deb12u1 + qemu-guest-agent: + installed: true + versions: + - 1:7.2+dfsg-7+deb12u7 + tomcat10: + installed: true + versions: + - 10.1.6-1+deb12u2 + zabbix-agent: + installed: true + versions: + - 1:6.0.14+dfsg-1+b1 +service: + mariadb: + enabled: true + running: true + mysql: + enabled: true + running: true + qemu-guest-agent: + enabled: true + running: true + ssh: + enabled: true + running: true + tomcat10: + enabled: true + running: true + zabbix-agent: + enabled: true + running: true +user: + mysql: + exists: true + uid: 104 + gid: 109 + groups: + - mysql + home: /nonexistent + shell: /bin/false + zabbix: + exists: true + uid: 105 + gid: 110 + groups: + - zabbix + home: /nonexistent + shell: /usr/sbin/nologin +group: + mysql: + exists: true + gid: 109 + zabbix: + exists: true + gid: 110 +http: + http://172.16.0.100:8080: + status: 200 + allow-insecure: false + no-follow-redirects: false + timeout: 5000 + body: + - Apache Tomcat # Le motif que Goss cherche diff --git a/goss_ap31-test.yaml b/goss_ap31-test.yaml new file mode 100755 index 0000000..2c796e6 --- /dev/null +++ b/goss_ap31-test.yaml @@ -0,0 +1,76 @@ +# goss.yaml, ap31-test +package: + mariadb-server: + installed: true + versions: + - 1:10.11.6-0+deb12u1 + phpmyadmin: + installed: true + versions: + - 4:5.2.1+dfsg-1 + qemu-guest-agent: + installed: true + versions: + - 1:7.2+dfsg-7+deb12u7 + tomcat10: + installed: true + versions: + - 10.1.6-1+deb12u2 + zabbix-agent: + installed: true + versions: + - 1:6.0.14+dfsg-1+b1 +service: + mariadb: + enabled: true + running: true + mysql: + enabled: true + running: true + qemu-guest-agent: + enabled: true + running: true + ssh: + enabled: true + running: true + tomcat10: + enabled: true + running: true + zabbix-agent: + enabled: true + running: true +user: + zabbix: + exists: true + uid: 105 + gid: 111 + groups: + - zabbix + home: /nonexistent + shell: /usr/sbin/nologin +group: + zabbix: + exists: true + gid: 111 +dns: + A:ns.sio.lan: + resolvable: true + addrs: + - 10.121.38.7 + timeout: 500 + server: 10.121.38.8 +interface: + eth0: + exists: true + addrs: + - 172.16.0.101/24 + - fe80::be24:11ff:fe8d:7f30/64 + mtu: 1500 +http: + http://172.16.0.101:8080: + status: 200 + allow-insecure: false + no-follow-redirects: false + timeout: 5000 + body: + - Apache Tomcat # Le motif que Goss recherche.