aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/torrc.global.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/torrc.global.erb b/templates/torrc.global.erb
index 3a3b623..f44eea5 100644
--- a/templates/torrc.global.erb
+++ b/templates/torrc.global.erb
@@ -3,13 +3,13 @@ RunAsDaemon 1
DataDirectory <%= data_dir %>
# log
-<%- if log_rules != [] then -%>
-<%- for log_rule in log_rules -%>
+<%- if scope.lookupvar('tor::daemon::log_rules') != [] then -%>
+<%- for scope.lookupvar('tor::daemon::log_rule') in log_rules -%>
Log <%= log_rule %>
<%- end -%>
<%- else -%>
Log notice syslog
<%- end -%>
-AutomapHostsOnResolve <%= automap_hosts_on_resolve%>
-UseBridges <%= use_bridges%>
+AutomapHostsOnResolve <%= scope.lookupvar('tor::daemon::automap_hosts_on_resolve') %>
+UseBridges <%= scope.lookupvar('tor::daemon::use_bridges') %>