<!--
  Partial <cluster> block for the MASTER node.
  Merge into /var/wazuh-manager/etc/wazuh-manager.conf inside <wazuh_config>.
  Do NOT replace the whole file: unknown or duplicated elements are a startup error in 5.0.

  Source: https://documentation.wazuh.com/5.0-beta/user-manual/reference/wazuh-manager-conf/cluster.html

  <key>   32 characters. Generate with: openssl rand -hex 16
          Treat it as a credential. Do not commit a real key to source control.
  <nodes> Exactly one entry. A Wazuh 5.0 cluster supports one master node; extra
          entries are ignored.
-->
<cluster>
  <name>wazuh</name>
  <node_name>master-node</node_name>
  <node_type>master</node_type>
  <key>REPLACE_WITH_32_CHAR_CLUSTER_KEY</key>
  <port>1516</port>
  <!-- The documented default is 127.0.0.1, which refuses every remote worker.
       Verified on a 5.0.0-beta5 Docker manager: that image instead ships the
       node hostname (<bind_addr>wazuh.manager</bind_addr>). Read the value on
       your own manager before assuming either. -->
  <bind_addr>0.0.0.0</bind_addr>
  <nodes>
    <node>MASTER_NODE_IP_ADDRESS</node>
  </nodes>
  <hidden>no</hidden>
</cluster>
