X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fonion%2Ftemplates%2Ftorrc-header.erb;h=57568154a6e6be223729cfca854974fa81b25238;hb=cb99d997e736f428f4f1264a0894e30b5302ef3d;hp=b45b81d96e1fd8a32fc806caec0d1a231970150a;hpb=5f8c0fa8bafb4a39ec6692b511abd7e41495b3ef;p=mirror%2Fdsa-puppet.git diff --git a/modules/onion/templates/torrc-header.erb b/modules/onion/templates/torrc-header.erb index b45b81d96..57568154a 100644 --- a/modules/onion/templates/torrc-header.erb +++ b/modules/onion/templates/torrc-header.erb @@ -1,4 +1,10 @@ +<%- if scope.function_has_role(['onionbalance']) -%> +# Workaround https://trac.torproject.org/projects/tor/ticket/27849 +# FIXME: remove this when the bug is fixed +SocksPort 9050 +<%- else -%> SocksPort 0 +<%- end -%> Log notice syslog <%- if has_variable?("tor_ge_0_2_9") && @tor_ge_0_2_9 -%>