aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rsyncd/manifests/init.pp
blob: 309072b6f7c8fea279e679156fce063ef7962d83 (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)
    }
}