Puppet Class: dumps::rsync::peers

Defined in:
modules/dumps/manifests/rsync/peers.pp

Overview

Parameters:

  • hosts_allow (Any) (defaults to: undef)
  • datapath (Any) (defaults to: undef)


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

class dumps::rsync::peers(
    $hosts_allow = undef,
    $datapath = undef,
) {
    file { '/etc/rsyncd.d/10-rsync-datasets_to_peers.conf':
        ensure  => 'present',
        mode    => '0444',
        owner   => 'root',
        group   => 'root',
        content => template('dumps/rsync/rsyncd.conf.datasets_to_peers.erb'),
        notify  => Exec['update-rsyncd.conf'],
    }
}