Puppet Class: nftables::rules::ceph_mon

Defined in:
manifests/rules/ceph_mon.pp

Summary

Ceph is a distributed object store and file system. Enable this option to support Ceph's Monitor Daemon.

Overview

Parameters:

  • ports (Array[Stdlib::Port,1]) (defaults to: [3300, 6789])

    specify ports for ceph service



5
6
7
8
9
10
11
12
# File 'manifests/rules/ceph_mon.pp', line 5

class nftables::rules::ceph_mon (
  Array[Stdlib::Port,1] $ports = [3300, 6789],
) {
  nftables::rule {
    'default_in-ceph_mon':
      content => "tcp dport {${$ports.join(', ')}} accept comment \"Accept Ceph MON\"",
  }
}