root / manifests / rules / out / ceph_client.pp @ 5d554e75
Historique | Voir | Annoter | Télécharger (521 octets)
1 | 09cba182 | Steve Traylen | # @summary |
---|---|---|---|
2 | # Ceph is a distributed object store and file system. |
||
3 | # Enable this to be a client of Ceph's Monitor (MON), |
||
4 | # Object Storage Daemons (OSD), Metadata Server Daemons (MDS), |
||
5 | # and Manager Daemons (MGR). |
||
6 | # @param ports Specify ports to open |
||
7 | 11bf7237 | Steve Traylen | class nftables::rules::out::ceph_client ( |
8 | 94a80621 | Steve Traylen | Array[Stdlib::Port,1] $ports = [3300, 6789], |
9 | 11bf7237 | Steve Traylen | ) { |
10 | nftables::rule { |
||
11 | bbc93ede | Dan van der Ster | 'default_out-ceph_client': |
12 | content => "tcp dport { ${$ports.join(', ')}, 6800-7300 } accept comment \"Accept Ceph MON, OSD, MDS, MGR\"", |
||
13 | } |
||
14 | } |