aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-04-20 10:40:08 +0000
committerNicolas Vigier <boklm@mageia.org>2011-04-20 10:40:08 +0000
commit33c9303ea7c3447cd312829c5c5243f49c69b7d7 (patch)
treee6dab733ad5f392cf49116213cf2da1891549eeb
parentd7493d45c668484b02d9787af65995587795e116 (diff)
downloadpuppet-33c9303ea7c3447cd312829c5c5243f49c69b7d7.tar
puppet-33c9303ea7c3447cd312829c5c5243f49c69b7d7.tar.gz
puppet-33c9303ea7c3447cd312829c5c5243f49c69b7d7.tar.bz2
puppet-33c9303ea7c3447cd312829c5c5243f49c69b7d7.tar.xz
puppet-33c9303ea7c3447cd312829c5c5243f49c69b7d7.zip
add parameter for rsyncd config file template
-rw-r--r--modules/rsyncd/manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/rsyncd/manifests/init.pp b/modules/rsyncd/manifests/init.pp
index c4ffc92d..b328cf96 100644
--- a/modules/rsyncd/manifests/init.pp
+++ b/modules/rsyncd/manifests/init.pp
@@ -1,4 +1,4 @@
-class rsyncd {
+class rsyncd($rsyncd_conf = 'rsyncd/rsyncd.conf') {
xinetd::service { "rsync":
content => template("rsyncd/xinetd")
@@ -11,6 +11,6 @@ class rsyncd {
group => root,
mode => 644,
require => Package["rsync"],
- content => template("rsyncd/rsyncd.conf")
+ content => template($rsyncd_conf)
}
}