From: Silvio Rhatto Date: Fri, 25 Jan 2013 20:50:51 +0000 (-0200) Subject: Another variable scope fix X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=dcb6e748864e7dfd3c14f4f2aba4c9120f12b78a;p=puppet-tor.git Another variable scope fix --- diff --git a/templates/torrc.global.erb b/templates/torrc.global.erb index 730cdac..0bc3bf2 100644 --- a/templates/torrc.global.erb +++ b/templates/torrc.global.erb @@ -1,6 +1,6 @@ # runtime RunAsDaemon 1 -DataDirectory <%= data_dir %> +DataDirectory <%= scope.lookupvar('tor::daemon::data_dir') %> # log <%- if scope.lookupvar('tor::daemon::log_rules') != [] then -%>