projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e83e2d9
)
Remove unused parameter fname from rsync::site
author
Bastian Blank
<waldi@debian.org>
Sun, 29 Jan 2017 09:13:48 +0000
(10:13 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Thu, 2 Feb 2017 10:21:04 +0000
(11:21 +0100)
Signed-off-by: Peter Palfrader <peter@palfrader.org>
modules/rsync/manifests/site.pp
patch
|
blob
|
history
diff --git
a/modules/rsync/manifests/site.pp
b/modules/rsync/manifests/site.pp
index
ec4a09e
..
ab47a1a
100644
(file)
--- a/
modules/rsync/manifests/site.pp
+++ b/
modules/rsync/manifests/site.pp
@@
-3,7
+3,6
@@
define rsync::site (
$bind6='',
$source='',
$content='',
- $fname='',
$max_clients=200,
$ensure=present,
$sslname='',
@@
-12,11
+11,7
@@
define rsync::site (
include rsync
- if ! $fname {
- $fname_real = "/etc/rsyncd-${name}.conf"
- } else {
- $fname_real = $fname
- }
+ $fname_real = "/etc/rsyncd-${name}.conf"
case $ensure {
present,absent: {}
default: { fail ( "Invald ensure `${ensure}' for ${name}" ) }