/[adm]/puppet/modules/rsyncd/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/rsyncd/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1544 - (show annotations) (download)
Wed Apr 20 10:40:08 2011 UTC (10 years, 7 months ago) by boklm
File size: 379 byte(s)
add parameter for rsyncd config file template
1 class rsyncd($rsyncd_conf = 'rsyncd/rsyncd.conf') {
2
3 xinetd::service { "rsync":
4 content => template("rsyncd/xinetd")
5 }
6
7 file { "rsyncd.conf":
8 path => "/etc/rsyncd.conf",
9 ensure => present,
10 owner => root,
11 group => root,
12 mode => 644,
13 require => Package["rsync"],
14 content => template($rsyncd_conf)
15 }
16 }

  ViewVC Help
Powered by ViewVC 1.1.28