Puppet Class: cephadm::osd

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

Summary

Installs the requirements for a node to be a

Overview

SPDX-License-Identifier: Apache-2.0

Class: cephadm::osd

cephadm-managed OSD node (i.e. a storage server). This is mostly firewall rules and custom facts for determining what storage is available for Ceph use.

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
22
23
# File 'modules/cephadm/manifests/osd.pp', line 11

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

    firewall::service { 'ceph-daemons':
        proto      => 'tcp',
        port_range => [6800, 7300],
        notrack    => true,
        srange     => $cluster_nodes,
    }

    # TODO: custom fact for storage layout
}