Remove clanModules

- Removes clanModules in favor of the new clanServices
- Adds a warning and link to the migration guide
This commit is contained in:
pinpox
2025-07-04 15:54:44 +02:00
parent e4949755d7
commit 35e5f4a42a
141 changed files with 83 additions and 5332 deletions

View File

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

View File

@@ -88,6 +88,7 @@ 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 = "self";
input = null;
};
roles.peer.tags.all = { };
};