From 354a87462f346ce6da31c52857f21a923d798445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis-Philippe=20V=C3=A9ronneau?= Date: Wed, 25 Oct 2017 15:51:22 -0400 Subject: remove the port check, since we can't access a variable in another define without creating a fact --- manifests/daemon/transport_plugin.pp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'manifests/daemon/transport_plugin.pp') 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, -- cgit v1.2.3