diff options
author | Micah Anderson <micah@riseup.net> | 2016-08-16 12:13:11 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2016-08-16 12:13:11 -0400 |
commit | 687dccf2b5b99ea5b4f2fdfb115295ccff9a1c1a (patch) | |
tree | 0ce8552d98999174ce319cbd0fa09ba4fae75a25 | |
parent | 9981a70f7ba1f9e4fe33e4eb46654295287c1fc1 (diff) |
Variable access via 'port' is deprecated.
Use '@port' instead, in
template[/srv/leap/puppet/modules/tor/templates/torrc.directory.erb]:2
-rw-r--r-- | templates/torrc.directory.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/torrc.directory.erb b/templates/torrc.directory.erb index 1af9f40..c7dc4ab 100644 --- a/templates/torrc.directory.erb +++ b/templates/torrc.directory.erb @@ -1,11 +1,11 @@ # directory listing -<% if port != '0' -%> +<% if @port != '0' -%> DirPort <%= @port %> <% end -%> <% listen_addresses.each do |listen_address| -%> DirListenAddress <%= listen_address %> <% end -%> <% if @port_front_page != '' -%> -DirPortFrontPage <%= port_front_page %> +DirPortFrontPage <%= @port_front_page %> <%- end -%> |