2023-07-20 12:32:31 +02:00
|
|
|
###
|
|
|
|
# File specifying all the deployement options for the nodes administrated by the dgnum.
|
|
|
|
#
|
|
|
|
# Node metadata template is:
|
|
|
|
#
|
|
|
|
# NODE_NAME = {
|
|
|
|
# adminGroups = []; # List of groups that have root access
|
|
|
|
# admins = []; # List of individuals that have root access
|
|
|
|
# deployment = {}; # Colmena deployment options
|
|
|
|
# nixpkgs = "unstable" or "22.11"; # nixpkgs version
|
|
|
|
# }
|
|
|
|
|
2024-03-10 01:03:30 +01:00
|
|
|
/*
|
|
|
|
Liste des différents sites :
|
2024-03-22 20:51:04 +01:00
|
|
|
- rat01 -> VM du NPSPI
|
|
|
|
- pav01 -> Salle serveur sous le pavillon Pasteur
|
|
|
|
- oik01 -> Local DGNum Jourdan
|
|
|
|
- hyp01 -> Salle serveur Hypnos 1
|
|
|
|
- luj01 -> VM de Luj
|
2024-02-23 10:50:50 +01:00
|
|
|
*/
|
|
|
|
{
|
2023-07-20 12:32:31 +02:00
|
|
|
web01 = {
|
2024-03-22 20:51:04 +01:00
|
|
|
site = "rat01";
|
2024-02-23 10:50:50 +01:00
|
|
|
|
2023-12-06 16:55:51 +01:00
|
|
|
deployment.tags = [ "web" ];
|
2023-05-22 15:06:11 +02:00
|
|
|
|
2023-07-20 12:32:31 +02:00
|
|
|
stateVersion = "23.05";
|
2024-03-23 20:22:58 +01:00
|
|
|
vm-cluster = "Hyperviseur NPS";
|
2024-04-18 16:23:25 +02:00
|
|
|
|
|
|
|
nix-modules = [ "services/crabfit" ];
|
2023-05-22 15:06:11 +02:00
|
|
|
};
|
2023-07-18 17:00:31 +02:00
|
|
|
|
|
|
|
compute01 = {
|
2024-03-22 20:51:04 +01:00
|
|
|
site = "pav01";
|
2024-02-23 10:50:50 +01:00
|
|
|
|
2023-07-20 12:32:31 +02:00
|
|
|
stateVersion = "23.05";
|
2024-04-19 14:40:09 +02:00
|
|
|
nix-modules = [ "services/stirling-pdf" ];
|
2023-07-18 17:00:31 +02:00
|
|
|
};
|
|
|
|
|
2024-02-20 17:47:50 +01:00
|
|
|
geo01 = {
|
2024-03-22 20:51:04 +01:00
|
|
|
site = "oik01";
|
2024-02-20 17:57:38 +01:00
|
|
|
deployment.tags = [ "geo" ];
|
|
|
|
|
|
|
|
stateVersion = "24.05";
|
|
|
|
nixpkgs = "unstable";
|
|
|
|
};
|
|
|
|
|
|
|
|
geo02 = {
|
2024-03-22 20:51:04 +01:00
|
|
|
site = "oik01";
|
2024-02-20 17:57:38 +01:00
|
|
|
deployment.tags = [ "geo" ];
|
|
|
|
|
2024-02-20 17:47:50 +01:00
|
|
|
stateVersion = "24.05";
|
|
|
|
nixpkgs = "unstable";
|
|
|
|
};
|
|
|
|
|
2023-07-18 17:00:31 +02:00
|
|
|
storage01 = {
|
2024-03-22 20:51:04 +01:00
|
|
|
site = "pav01";
|
2023-11-29 21:04:09 +01:00
|
|
|
stateVersion = "23.11";
|
2024-04-18 16:23:25 +02:00
|
|
|
|
|
|
|
nix-modules = [ "services/forgejo-nix-runners" ];
|
2023-07-18 17:00:31 +02:00
|
|
|
};
|
2024-01-10 15:00:18 +01:00
|
|
|
|
|
|
|
vault01 = {
|
2024-03-22 20:51:04 +01:00
|
|
|
site = "hyp01";
|
2024-03-12 12:27:05 +01:00
|
|
|
deployment.targetHost = "vault01.dgnum";
|
2024-02-23 10:50:50 +01:00
|
|
|
|
2024-01-10 15:00:18 +01:00
|
|
|
stateVersion = "23.11";
|
2024-01-10 15:05:50 +01:00
|
|
|
nixpkgs = "unstable";
|
2024-04-04 12:49:28 +02:00
|
|
|
|
2024-05-14 23:48:40 +02:00
|
|
|
adminGroups = [ "fai" ];
|
2024-01-10 15:00:18 +01:00
|
|
|
};
|
2024-01-11 12:45:01 +01:00
|
|
|
|
|
|
|
web02 = {
|
2024-03-22 20:51:04 +01:00
|
|
|
site = "rat01";
|
2024-02-23 10:50:50 +01:00
|
|
|
|
2024-01-11 12:45:01 +01:00
|
|
|
stateVersion = "24.05";
|
|
|
|
nixpkgs = "unstable";
|
2024-03-23 20:22:58 +01:00
|
|
|
vm-cluster = "Hyperviseur NPS";
|
2024-01-11 12:45:01 +01:00
|
|
|
};
|
2024-02-21 01:44:48 +01:00
|
|
|
|
|
|
|
rescue01 = {
|
2024-03-22 20:51:04 +01:00
|
|
|
site = "luj01";
|
2024-02-23 10:50:50 +01:00
|
|
|
|
2024-03-29 11:41:13 +01:00
|
|
|
deployment.targetHost = "v6.rescue01.luj01.infra.dgnum.eu";
|
|
|
|
|
2024-02-21 01:44:48 +01:00
|
|
|
stateVersion = "23.11";
|
2024-03-23 20:22:58 +01:00
|
|
|
vm-cluster = "Hyperviseur Luj";
|
2024-02-21 01:44:48 +01:00
|
|
|
};
|
2023-05-22 15:06:11 +02:00
|
|
|
}
|