]> gitweb.fluxo.info Git - puppet-tor.git/commitdiff
Fix SafeLoggin config
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 11 Jul 2018 13:57:55 +0000 (10:57 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 11 Jul 2018 13:57:55 +0000 (10:57 -0300)
templates/torrc.global.erb

index f577673d064a54cfbb1e3112209e67642361f1cd..992d9d2ea7080bbcfc40cba428dca3140436d4ed 100644 (file)
@@ -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 -%>