aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/daemon.pp2
-rw-r--r--templates/torrc.hidden_service.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/daemon.pp b/manifests/daemon.pp
index 4637690..1d73c7d 100644
--- a/manifests/daemon.pp
+++ b/manifests/daemon.pp
@@ -2,7 +2,7 @@
class tor::daemon inherits tor {
# config variables
- $data_dir = '/var/tor'
+ $data_dir = '/var/lib/tor'
$config_file = '/etc/tor/torrc'
$spool_dir = '/var/lib/puppet/modules/tor'
$snippet_dir = "${spool_dir}/torrc.d"
diff --git a/templates/torrc.hidden_service.erb b/templates/torrc.hidden_service.erb
index aed685f..1a35faa 100644
--- a/templates/torrc.hidden_service.erb
+++ b/templates/torrc.hidden_service.erb
@@ -1,5 +1,5 @@
# hidden service <%= name %>
-HiddenServiceDir /var/tor/<%= name %>
+HiddenServiceDir /var/lib/tor/<%= name %>
<%- for port in ports -%>
HiddenServicePort <%= port %>
<%- end -%>