diff --git a/scripts/policy/frameworks/cluster/agent/main.zeek b/scripts/policy/frameworks/cluster/agent/main.zeek index a70c7c6269..734a55a126 100644 --- a/scripts/policy/frameworks/cluster/agent/main.zeek +++ b/scripts/policy/frameworks/cluster/agent/main.zeek @@ -6,6 +6,8 @@ @load ./api +module ClusterAgent::Runtime; + redef ClusterController::role = ClusterController::Types::AGENT; # The global configuration as passed to us by the controller diff --git a/scripts/policy/frameworks/cluster/controller/main.zeek b/scripts/policy/frameworks/cluster/controller/main.zeek index 835b517ede..a774bba119 100644 --- a/scripts/policy/frameworks/cluster/controller/main.zeek +++ b/scripts/policy/frameworks/cluster/controller/main.zeek @@ -8,6 +8,8 @@ @load ./request @load ./util +module ClusterController::Runtime; + redef ClusterController::role = ClusterController::Types::CONTROLLER; global check_instances_ready: function(insts: set[string], tc: TableChange, inst: string);