Puppet Class: profile::dumps::distribution::rsync

Defined in:
modules/profile/manifests/dumps/distribution/rsync.pp

Overview

SPDX-License-Identifier: Apache-2.0 Set up rsync server and base config

Parameters:

  • rsyncer_settings (Hash) (defaults to: lookup('profile::dumps::distribution::rsync_config'))


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

class profile::dumps::distribution::rsync(
    Hash $rsyncer_settings = lookup('profile::dumps::distribution::rsync_config'),
) {
    $user = $rsyncer_settings['dumps_user']
    $group = $rsyncer_settings['dumps_group']
    $deploygroup = $rsyncer_settings['dumps_deploygroup']
    $mntpoint = $rsyncer_settings['dumps_mntpoint']

    class {'::dumps::rsync::common':
        user  => $user,
        group => $group,
    }

    class {'::dumps::rsync::default':}

    class {'::vm::higher_min_free_kbytes':}

    profile::auto_restarts::service { 'rsync': }
}