Ajout des fichiers de vérification Goss et complémentation de la documentation.
This commit is contained in:
parent
cbb8537b40
commit
f411491675
@ -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**.
|
||||
|
69
goss_ap31-prod.yaml
Executable file
69
goss_ap31-prod.yaml
Executable file
@ -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
|
76
goss_ap31-test.yaml
Executable file
76
goss_ap31-test.yaml
Executable file
@ -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.
|
Loading…
x
Reference in New Issue
Block a user