Puppet Class: profile::dumps::rsyncer_peer

Defined in:
modules/profile/manifests/dumps/rsyncer_peer.pp

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • rsyncer_settings (Any) (defaults to: lookup('profile::dumps::rsyncer'))
  • peer_hosts (Any) (defaults to: lookup('profile::dumps::peer_hosts'))


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'modules/profile/manifests/dumps/rsyncer_peer.pp', line 2

class profile::dumps::rsyncer_peer(
    $rsyncer_settings = lookup('profile::dumps::rsyncer'),
    $peer_hosts = lookup('profile::dumps::peer_hosts'),
) {
    $user = $rsyncer_settings['dumps_user']
    $group = $rsyncer_settings['dumps_group']
    $mntpoint = $rsyncer_settings['dumps_mntpoint']

    class {'::dumps::rsync::common':
        user  => $user,
        group => $group,
    }
    class {'::dumps::rsync::default':}
    class {'::vm::higher_min_free_kbytes':}
    class {'::dumps::rsync::peers':
        hosts_allow => $peer_hosts,
        datapath    => $mntpoint,
    }
}