aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-07-11 10:57:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-07-11 10:57:55 -0300
commitdb5143c0d11e6640cf1628bbc488254f93655d79 (patch)
treec42f4cec257508954a39dae178d73c54f1bc1999
parent95bcf42b32a4f636ac40ede2b89d50509177e696 (diff)
downloadpuppet-tor-db5143c0d11e6640cf1628bbc488254f93655d79.tar.gz
puppet-tor-db5143c0d11e6640cf1628bbc488254f93655d79.tar.bz2
Fix SafeLoggin config
-rw-r--r--templates/torrc.global.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/torrc.global.erb b/templates/torrc.global.erb
index f577673..992d9d2 100644
--- a/templates/torrc.global.erb
+++ b/templates/torrc.global.erb
@@ -12,7 +12,7 @@ Log notice syslog
Log <%= log_rule %>
<% end -%>
<% end -%>
-<%- if @safe_logging != 1 then -%>
+<%- if (safe_logging=scope.lookupvar('tor::daemon::safe_logging')) != 1 then -%>
SafeLogging <%= @safe_logging %>
<%- end -%>