Projet

Général

Profil

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

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

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

1
# @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
class nftables::rules::out::ceph_client (
8
  Array[Stdlib::Port,1] $ports = [3300, 6789],
9
) {
10
  nftables::rule {
11
    'default_out-ceph_client':
12
      content => "tcp dport { ${$ports.join(', ')}, 6800-7300 } accept comment \"Accept Ceph MON, OSD, MDS, MGR\"",
13
  }
14
}