root / manifests / rules / out / ceph_client.pp @ 11bf7237
Historique | Voir | Annoter | Télécharger (460 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 |
} |