diff options
author | Micah <micah@riseup.net> | 2016-03-11 20:53:08 +0000 |
---|---|---|
committer | Micah <micah@riseup.net> | 2016-03-11 20:53:08 +0000 |
commit | fd7aad3cb5fb7f8db73ef5dbe2cbab9ab4868325 (patch) | |
tree | c84e9964aa10f6dd2cd0d64a780a32865b8bcacc | |
parent | 396e5d888882a9511df673d51f0af78998ef9b26 (diff) | |
parent | 8c936c166b6da1ebd0e8d95e56ceee5167357d63 (diff) | |
download | puppet-tor-master.tar.gz puppet-tor-master.tar.bz2 |
Fix deprecated variable references
See merge request !3
-rw-r--r-- | templates/torrc.relay.erb | 8 |
1 files changed, 4 insertions, 4 deletions
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 %> |