blob: b328cf968dd565c48f8793aaeb390446cecfbba7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class rsyncd($rsyncd_conf = 'rsyncd/rsyncd.conf') {
xinetd::service { "rsync":
content => template("rsyncd/xinetd")
}
file { "rsyncd.conf":
path => "/etc/rsyncd.conf",
ensure => present,
owner => root,
group => root,
mode => 644,
require => Package["rsync"],
content => template($rsyncd_conf)
}
}
|