Puppet Class: cephadm::monitor

Defined in:
modules/cephadm/manifests/monitor.pp

Summary

Installs the requirements for a node to be a

Overview

SPDX-License-Identifier: Apache-2.0

Class: cephadm::monitor

cephadm-managed monitor node, that will run the ceph-mon daemon (and maybe also the ceph-mgr daemon). Assumes that this node will also be an OSD node, so we just need to additionally open the mon ports.

Parameters:

  • cluster_nodes (Array[Stdlib::Host])

    Set of nodes to allow ceph traffice from



11
12
13
14
15
16
17
18
19
20
21
# File 'modules/cephadm/manifests/monitor.pp', line 11

class cephadm::monitor(
    Array[Stdlib::Host] $cluster_nodes,
) {

    firewall::service { 'ceph-mon':
        proto   => 'tcp',
        port    => [3300, 6789],
        notrack => true,
        srange  => $cluster_nodes,
    }
}