aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/rdiff.conf.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/rdiff.conf.erb b/templates/rdiff.conf.erb
index 0e19125..a28917a 100644
--- a/templates/rdiff.conf.erb
+++ b/templates/rdiff.conf.erb
@@ -33,7 +33,7 @@ type = local
if VersionComparer.versioncmp(Puppet.version,'0.24.6') >= 0
%w{type host directory user sshoptions}.each do |v|
- if has_variable?(v)
+ if has_variable?(v) and instance_variable_get("@#{v}").to_s != "false"
-%>
<%= v + ' = ' + instance_variable_get("@#{v}").to_s %>
<%-