From 670d2151075983612c7ea21aa8ae3c56a2183f1a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 25 Jan 2013 15:18:47 -0200 Subject: Fixing variable scope assingment --- templates/torrc.global.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/torrc.global.erb b/templates/torrc.global.erb index f44eea5..730cdac 100644 --- a/templates/torrc.global.erb +++ b/templates/torrc.global.erb @@ -4,7 +4,7 @@ DataDirectory <%= data_dir %> # log <%- if scope.lookupvar('tor::daemon::log_rules') != [] then -%> -<%- for scope.lookupvar('tor::daemon::log_rule') in log_rules -%> +<%- for log_rule in scope.lookupvar('tor::daemon::log_rules') -%> Log <%= log_rule %> <%- end -%> <%- else -%> -- cgit v1.2.3