From: Micah Anderson Date: Fri, 11 Mar 2016 17:08:39 +0000 (-0500) Subject: Fix deprecated variable references X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8c936c166b6da1ebd0e8d95e56ceee5167357d63;p=puppet-tor.git Fix deprecated variable references --- diff --git a/templates/torrc.relay.erb b/templates/torrc.relay.erb index 511bda1..a286459 100644 --- a/templates/torrc.relay.erb +++ b/templates/torrc.relay.erb @@ -1,11 +1,11 @@ # relay <% if @port != 0 -%> ORPort <%= @port %> -<% listen_addresses.each do |listen_address| -%> -ORListenAddress <%= listen_address %> +<% @listen_addresses.each do |listen_address| -%> +ORListenAddress <%= @listen_address %> <% end -%> -<% real_outbound_bindaddresses.each do |outbound_bindaddress| -%> -OutboundBindAddress <%= outbound_bindaddress %> +<% @real_outbound_bindaddresses.each do |outbound_bindaddress| -%> +OutboundBindAddress <%= @outbound_bindaddress %> <% end -%> <% if @nickname != '' -%> Nickname <%= @nickname %>