aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rsyncd/manifests/init.pp
blob: 5cc9e2fddb1183b6f24eaf8486e0ba849d5b8e2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class rsyncd($rsyncd_conf = 'rsyncd/rsyncd.conf') {

    xinetd::service { 'rsync':
        content => template('rsyncd/xinetd')
    }

    file { 'rsyncd.conf':
        path    => '/etc/rsyncd.conf',
        require => Package['rsync'],
        content => template($rsyncd_conf)
    }
}