diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-25 15:18:47 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-25 15:18:47 -0200 |
commit | 670d2151075983612c7ea21aa8ae3c56a2183f1a (patch) | |
tree | 1473b1c14abdf218dfce2be33765c5a9baeae783 | |
parent | b9ee67f70b589a2d6bd174cf254e9042288d9ccd (diff) | |
download | puppet-tor-670d2151075983612c7ea21aa8ae3c56a2183f1a.tar.gz puppet-tor-670d2151075983612c7ea21aa8ae3c56a2183f1a.tar.bz2 |
Fixing variable scope assingment
-rw-r--r-- | templates/torrc.global.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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 -%> |