aboutsummaryrefslogtreecommitdiff
path: root/templates/torrc.global.erb
diff options
context:
space:
mode:
authoramontero-referup <amontero@referup.com>2014-03-20 16:43:38 +0100
committeramontero-referup <amontero@referup.com>2014-03-20 16:46:07 +0100
commitd902d4dad59970669214176919b7759a02b1f7f4 (patch)
tree5f87b6e7b66a1a17d0f980f905978036f1833f04 /templates/torrc.global.erb
parent0e27df241f28987ea66a2b32a7a239f427b71bcd (diff)
downloadpuppet-tor-d902d4dad59970669214176919b7759a02b1f7f4.tar.gz
puppet-tor-d902d4dad59970669214176919b7759a02b1f7f4.tar.bz2
Add safe_logging parameter.
Diffstat (limited to 'templates/torrc.global.erb')
-rw-r--r--templates/torrc.global.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/torrc.global.erb b/templates/torrc.global.erb
index e0f6f7e..1cfe36f 100644
--- a/templates/torrc.global.erb
+++ b/templates/torrc.global.erb
@@ -12,6 +12,9 @@ Log <%= log_rule %>
<%- else -%>
Log notice syslog
<%- end -%>
+<%- if safe_logging != 1 then -%>
+SafeLogging <%= safe_logging %>
+<%- end -%>
<%- if scope.lookupvar('tor::daemon::automap_hosts_on_resolve') != '0' then -%>
AutomapHostsOnResolve <%= scope.lookupvar('tor::daemon::automap_hosts_on_resolve') %>