feat(meta): Switch to new naming scheme for sites

This commit is contained in:
Tom Hubrecht 2024-03-22 20:51:04 +01:00 committed by thubrecht
parent a894c3f299
commit 88859390a6
2 changed files with 19 additions and 12 deletions

View file

@ -16,6 +16,12 @@ let
"dev" = "dev.pages.codeberg.page."; "dev" = "dev.pages.codeberg.page.";
"irc" = "public.p.lahfa.xyz."; "irc" = "public.p.lahfa.xyz.";
"webmail" = "kurisu.dual.lahfa.xyz."; "webmail" = "kurisu.dual.lahfa.xyz.";
# Transition to new site names
"web01.dmi01.infra" = "web01.rat01.infra";
"web02.dmi01.infra" = "web02.rat01.infra";
"compute01.par01.infra" = "compute01.pav01.infra";
"storage01.par01.infra" = "storage01.pav01.infra";
}; };
hosted = fuseAttrs ( hosted = fuseAttrs (

View file

@ -12,14 +12,15 @@
/* /*
Liste des différents sites : Liste des différents sites :
- dmi01 -> VM du NPSPI - rat01 -> VM du NPSPI
- par01 -> Salle serveur sous le pavillon Pasteur - pav01 -> Salle serveur sous le pavillon Pasteur
- par02 -> Local DGNum Jourdan - oik01 -> Local DGNum Jourdan
- par03 -> VM de Luj - hyp01 -> Salle serveur Hypnos 1
- luj01 -> VM de Luj
*/ */
{ {
web01 = { web01 = {
site = "dmi01"; site = "rat01";
deployment.tags = [ "web" ]; deployment.tags = [ "web" ];
@ -27,13 +28,13 @@
}; };
compute01 = { compute01 = {
site = "par01"; site = "pav01";
stateVersion = "23.05"; stateVersion = "23.05";
}; };
geo01 = { geo01 = {
site = "par02"; site = "oik01";
deployment.tags = [ "geo" ]; deployment.tags = [ "geo" ];
stateVersion = "24.05"; stateVersion = "24.05";
@ -41,7 +42,7 @@
}; };
geo02 = { geo02 = {
site = "par02"; site = "oik01";
deployment.tags = [ "geo" ]; deployment.tags = [ "geo" ];
stateVersion = "24.05"; stateVersion = "24.05";
@ -49,12 +50,12 @@
}; };
storage01 = { storage01 = {
site = "par01"; site = "pav01";
stateVersion = "23.11"; stateVersion = "23.11";
}; };
vault01 = { vault01 = {
site = "par02"; site = "hyp01";
deployment.targetHost = "vault01.dgnum"; deployment.targetHost = "vault01.dgnum";
stateVersion = "23.11"; stateVersion = "23.11";
@ -62,14 +63,14 @@
}; };
web02 = { web02 = {
site = "dmi01"; site = "rat01";
stateVersion = "24.05"; stateVersion = "24.05";
nixpkgs = "unstable"; nixpkgs = "unstable";
}; };
rescue01 = { rescue01 = {
site = "par03"; site = "luj01";
stateVersion = "23.11"; stateVersion = "23.11";
}; };