From 687dccf2b5b99ea5b4f2fdfb115295ccff9a1c1a Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 16 Aug 2016 12:13:11 -0400 Subject: Variable access via 'port' is deprecated. Use '@port' instead, in template[/srv/leap/puppet/modules/tor/templates/torrc.directory.erb]:2 --- templates/torrc.directory.erb | 4 ++-- 1 file 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 -%> -- cgit v1.2.3