revert Merge pull request 'Remove clanModules/*' (#4202) from remove-modules into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4202

See: https://git.clan.lol/clan/clan-core/issues/4365

Not all modules are migrated.
If they are not migrated, we need to write migration docs and please display the link to the migration docs
This commit is contained in:
hsjobeki
2025-07-15 17:51:36 +00:00
parent 9bb366cdd7
commit 341f444fa0
136 changed files with 5488 additions and 40 deletions

View File

@@ -32,7 +32,7 @@ let
let
inventory = evalInventory inventoryModule;
flakeInputsFixture = {
self.clan.modules = inventoryModule.modules or { };
self.clan.modules = inventory.modules;
# Example upstream module
upstream.clan.modules = {
uzzi = {
@@ -165,7 +165,7 @@ in
instances."instance_zaza" = {
module = {
name = "B";
input = null;
input = "self";
};
};
};
@@ -191,7 +191,7 @@ in
_class = "clan.service";
manifest = {
name = "network";
input = null;
input = "self";
};
# Define a role without special behavior
roles.peer = { };
@@ -220,7 +220,7 @@ in
instances."instance_zaza" = {
module = {
name = "B";
input = null;
input = "self";
};
roles.peer.tags.all = { };
};
@@ -272,7 +272,7 @@ in
instances."instance_zaza" = {
module = {
name = "B";
input = null;
input = "self";
};
roles.peer.tags.all = { };
};

View File

@@ -88,7 +88,6 @@ let
instances."instance_zaza" = {
module = {
name = "B";
input = null;
};
roles.peer.tags.all = { };
};

View File

@@ -65,7 +65,7 @@ let
instances."instance_zaza" = {
module = {
name = "B";
input = null;
input = "self";
};
roles.peer.tags.all = { };
};