aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-25 18:50:51 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-25 18:50:51 -0200
commitdcb6e748864e7dfd3c14f4f2aba4c9120f12b78a (patch)
tree722db7249daa86eda638791f1ffd22137210ba15
parent670d2151075983612c7ea21aa8ae3c56a2183f1a (diff)
downloadpuppet-tor-dcb6e748864e7dfd3c14f4f2aba4c9120f12b78a.tar.gz
puppet-tor-dcb6e748864e7dfd3c14f4f2aba4c9120f12b78a.tar.bz2
Another variable scope fix
-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 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 -%>