Puppet Class: dumps::generation::server::rsyncer_xml

Defined in:
modules/dumps/manifests/generation/server/rsyncer_xml.pp

Overview

Parameters:

  • xmldumpsdir (Any) (defaults to: undef)
  • xmlremotedirs (Any) (defaults to: undef)


1
2
3
4
5
6
7
8
9
10
11
12
13
# File 'modules/dumps/manifests/generation/server/rsyncer_xml.pp', line 1

class dumps::generation::server::rsyncer_xml(
    $xmldumpsdir = undef,
    $xmlremotedirs = undef,
)  {
    include ::dumps::generation::server::rsyncer_common

    systemd::service { 'dumps-rsyncer':
        ensure    => 'present',
        restart   => true,
        content   => systemd_template('dumps-rsync-peers-xml'),
        subscribe => [File['/usr/local/bin/rsync-via-primary.sh'], File['/usr/local/bin/rsyncer_lib.sh']],
    }
}