forked from DGNum/infrastructure
feat(meta): Switch to new naming scheme for sites
This commit is contained in:
parent
a894c3f299
commit
88859390a6
2 changed files with 19 additions and 12 deletions
|
@ -16,6 +16,12 @@ let
|
|||
"dev" = "dev.pages.codeberg.page.";
|
||||
"irc" = "public.p.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 (
|
||||
|
|
|
@ -12,14 +12,15 @@
|
|||
|
||||
/*
|
||||
Liste des différents sites :
|
||||
- dmi01 -> VM du NPSPI
|
||||
- par01 -> Salle serveur sous le pavillon Pasteur
|
||||
- par02 -> Local DGNum Jourdan
|
||||
- par03 -> VM de Luj
|
||||
- rat01 -> VM du NPSPI
|
||||
- pav01 -> Salle serveur sous le pavillon Pasteur
|
||||
- oik01 -> Local DGNum Jourdan
|
||||
- hyp01 -> Salle serveur Hypnos 1
|
||||
- luj01 -> VM de Luj
|
||||
*/
|
||||
{
|
||||
web01 = {
|
||||
site = "dmi01";
|
||||
site = "rat01";
|
||||
|
||||
deployment.tags = [ "web" ];
|
||||
|
||||
|
@ -27,13 +28,13 @@
|
|||
};
|
||||
|
||||
compute01 = {
|
||||
site = "par01";
|
||||
site = "pav01";
|
||||
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
|
||||
geo01 = {
|
||||
site = "par02";
|
||||
site = "oik01";
|
||||
deployment.tags = [ "geo" ];
|
||||
|
||||
stateVersion = "24.05";
|
||||
|
@ -41,7 +42,7 @@
|
|||
};
|
||||
|
||||
geo02 = {
|
||||
site = "par02";
|
||||
site = "oik01";
|
||||
deployment.tags = [ "geo" ];
|
||||
|
||||
stateVersion = "24.05";
|
||||
|
@ -49,12 +50,12 @@
|
|||
};
|
||||
|
||||
storage01 = {
|
||||
site = "par01";
|
||||
site = "pav01";
|
||||
stateVersion = "23.11";
|
||||
};
|
||||
|
||||
vault01 = {
|
||||
site = "par02";
|
||||
site = "hyp01";
|
||||
deployment.targetHost = "vault01.dgnum";
|
||||
|
||||
stateVersion = "23.11";
|
||||
|
@ -62,14 +63,14 @@
|
|||
};
|
||||
|
||||
web02 = {
|
||||
site = "dmi01";
|
||||
site = "rat01";
|
||||
|
||||
stateVersion = "24.05";
|
||||
nixpkgs = "unstable";
|
||||
};
|
||||
|
||||
rescue01 = {
|
||||
site = "par03";
|
||||
site = "luj01";
|
||||
|
||||
stateVersion = "23.11";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue