mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
cluster: Add warning about cluster-layout.zeek content
Relates to #2528, #991.
This commit is contained in:
parent
d65c75e2ad
commit
28336709b8
1 changed files with 8 additions and 0 deletions
|
@ -5,6 +5,14 @@
|
||||||
##! The ``CLUSTER_NODE`` environment variable or :zeek:id:`Cluster::node`
|
##! The ``CLUSTER_NODE`` environment variable or :zeek:id:`Cluster::node`
|
||||||
##! must also be sent and the cluster framework loaded as a package like
|
##! must also be sent and the cluster framework loaded as a package like
|
||||||
##! ``@load base/frameworks/cluster``.
|
##! ``@load base/frameworks/cluster``.
|
||||||
|
##!
|
||||||
|
##! .. warning::
|
||||||
|
##! The file ``cluster-layout.zeek`` should only contain the definition
|
||||||
|
##! of :zeek:id:`Cluster::nodes`. Specifically, avoid loading other Zeek
|
||||||
|
##! scripts or using :zeek:see:`redef` for anything but :zeek:id:`Cluster::nodes`.
|
||||||
|
##!
|
||||||
|
##! Due to ``cluster-layout.zeek`` being loaded very early, it is easy to
|
||||||
|
##! introduce circular loading issues.
|
||||||
|
|
||||||
@load base/frameworks/control
|
@load base/frameworks/control
|
||||||
@load base/frameworks/broker
|
@load base/frameworks/broker
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue