Puppet Class: profile::dumps::generation::server::rsync_firewall

Defined in:
modules/profile/manifests/dumps/generation/server/rsync_firewall.pp

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • rsync_clients (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::dumps::rsync_internal_clients'))


2
3
4
5
6
7
8
9
10
# File 'modules/profile/manifests/dumps/generation/server/rsync_firewall.pp', line 2

class profile::dumps::generation::server::rsync_firewall(
    Array[Stdlib::Fqdn] $rsync_clients = lookup('profile::dumps::rsync_internal_clients'),
) {
    ferm::service { 'dumps_rsyncd':
        port   => '873',
        proto  => 'tcp',
        srange => "@resolve((${rsync_clients.join(' ')}))",
    }
}