summaryrefslogtreecommitdiff
path: root/templates/torrc.relay.erb
diff options
context:
space:
mode:
authorLouis-Philippe VĂ©ronneau <pollito@riseup.net>2017-10-11 15:35:21 -0400
committerLouis-Philippe VĂ©ronneau <pollito@riseup.net>2017-10-11 15:35:21 -0400
commit26f56433a57aec688a18a964751cfe08b62d9bd8 (patch)
treee9963256735a2987e4055986c2cd03da56de68f8 /templates/torrc.relay.erb
parent5ef29012dccc90e68afc215be9521629a0903bc6 (diff)
puppet 4 needs arrays in templates to be marked as such
Diffstat (limited to 'templates/torrc.relay.erb')
-rw-r--r--templates/torrc.relay.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/torrc.relay.erb b/templates/torrc.relay.erb
index a286459..bfe982c 100644
--- a/templates/torrc.relay.erb
+++ b/templates/torrc.relay.erb
@@ -1,10 +1,10 @@
# relay
<% if @port != 0 -%>
ORPort <%= @port %>
-<% @listen_addresses.each do |listen_address| -%>
+<% Array(@listen_addresses).each do |listen_address| -%>
ORListenAddress <%= @listen_address %>
<% end -%>
-<% @real_outbound_bindaddresses.each do |outbound_bindaddress| -%>
+<% Array(@real_outbound_bindaddresses).each do |outbound_bindaddress| -%>
OutboundBindAddress <%= @outbound_bindaddress %>
<% end -%>
<% if @nickname != '' -%>