aboutsummaryrefslogtreecommitdiff
path: root/templates/torrc.global.erb
diff options
context:
space:
mode:
authorduritong <peter.meier+github@immerda.ch>2014-06-13 08:59:00 +0200
committerduritong <peter.meier+github@immerda.ch>2014-06-13 08:59:00 +0200
commitfc56b10f32251472e21297ac1ac4f6146369f71f (patch)
tree8777dee907bd235dd4aa22fc0a53218d993890ed /templates/torrc.global.erb
parent2ad5ae93fe724f397bb6f1ca9761ccce2cd42f37 (diff)
parentd902d4dad59970669214176919b7759a02b1f7f4 (diff)
downloadpuppet-tor-fc56b10f32251472e21297ac1ac4f6146369f71f.tar.gz
puppet-tor-fc56b10f32251472e21297ac1ac4f6146369f71f.tar.bz2
Merge pull request #13 from pataquets/add-safe-logging
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') %>