Projet

Général

Profil

Paste
Télécharger au format
Statistiques
| Branche: | Révision:

root / manifests / rules / out / ceph_client.pp @ bbc93ede

Historique | Voir | Annoter | Télécharger (457 octets)

1
# Ceph is a distributed object store and file system.
2
# Enable this to be a client of Ceph's Monitor (MON),
3
# Object Storage Daemons (OSD), Metadata Server Daemons (MDS),
4
# and Manager Daemons (MGR).
5
class nftables::rules::out::ceph_client(
6
  Array[Integer,1] $ports = [3300, 6789],
7
){
8
  nftables::rule{
9
    'default_out-ceph_client':
10
      content => "tcp dport { ${$ports.join(', ')}, 6800-7300 } accept comment \"Accept Ceph MON, OSD, MDS, MGR\"",
11
  }
12
}