summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis-Philippe VĂ©ronneau <pollito@riseup.net>2017-10-25 15:51:22 -0400
committerLouis-Philippe VĂ©ronneau <pollito@riseup.net>2017-10-25 15:51:22 -0400
commit354a87462f346ce6da31c52857f21a923d798445 (patch)
tree31b75eebb11bca2140ada563d1a819419e36d6ba
parent682cc7622e033575d6238c5792f135fce05b13c3 (diff)
remove the port check, since we can't access a variable in another define without creating a fact
-rw-r--r--manifests/daemon/transport_plugin.pp4
1 files changed, 0 insertions, 4 deletions
diff --git a/manifests/daemon/transport_plugin.pp b/manifests/daemon/transport_plugin.pp
index f0ba41f..7242e5e 100644
--- a/manifests/daemon/transport_plugin.pp
+++ b/manifests/daemon/transport_plugin.pp
@@ -5,10 +5,6 @@ define tor::daemon::transport_plugin(
$servertransport_options = '',
$ext_port = '' ) {
- if $port == $ext_port {
- fail('ORPort and ExtORPort values cannot be the same')
- }
-
concat::fragment { "11.transport_plugin":
content => template('tor/torrc.transport_plugin.erb'),
order => 11,