Puppet Class: profile::dumps::rsyncer_peer

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

Overview

Parameters:

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


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

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,
    }
}