summaryrefslogtreecommitdiff
path: root/manifests/daemon/relay.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-05-17 11:50:50 +0200
committervarac <varacanero@zeromail.org>2016-05-17 11:50:50 +0200
commit9981a70f7ba1f9e4fe33e4eb46654295287c1fc1 (patch)
tree1beb63d346b919727a0e7e8df124feb5039930cb /manifests/daemon/relay.pp
parent43506968b1760b8a54f012c72baa9a5820cee21a (diff)
parentfd7aad3cb5fb7f8db73ef5dbe2cbab9ab4868325 (diff)
Merge branch 'master' of gitlab.com:shared-puppet-modules-group/tor
Diffstat (limited to 'manifests/daemon/relay.pp')
-rw-r--r--manifests/daemon/relay.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/daemon/relay.pp b/manifests/daemon/relay.pp
index d5296de..ff52893 100644
--- a/manifests/daemon/relay.pp
+++ b/manifests/daemon/relay.pp
@@ -3,6 +3,7 @@ define tor::daemon::relay(
$port = 0,
$listen_addresses = [],
$outbound_bindaddresses = [],
+ $portforwarding = 0,
# KB/s, defaulting to using tor's default: 5120KB/s
$bandwidth_rate = '',
# KB/s, defaulting to using tor's default: 10240KB/s
@@ -24,7 +25,7 @@ define tor::daemon::relay(
$nickname = $name
if $outbound_bindaddresses == [] {
- $real_outbound_bindaddresses = $listen_addresses
+ $real_outbound_bindaddresses = []
} else {
$real_outbound_bindaddresses = $outbound_bindaddresses
}