diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-04-20 10:40:08 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-04-20 10:40:08 +0000 |
commit | 33c9303ea7c3447cd312829c5c5243f49c69b7d7 (patch) | |
tree | e6dab733ad5f392cf49116213cf2da1891549eeb /modules/rsyncd | |
parent | d7493d45c668484b02d9787af65995587795e116 (diff) | |
download | puppet-33c9303ea7c3447cd312829c5c5243f49c69b7d7.tar puppet-33c9303ea7c3447cd312829c5c5243f49c69b7d7.tar.gz puppet-33c9303ea7c3447cd312829c5c5243f49c69b7d7.tar.bz2 puppet-33c9303ea7c3447cd312829c5c5243f49c69b7d7.tar.xz puppet-33c9303ea7c3447cd312829c5c5243f49c69b7d7.zip |
add parameter for rsyncd config file template
Diffstat (limited to 'modules/rsyncd')
-rw-r--r-- | modules/rsyncd/manifests/init.pp | 4 |
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) } } |