summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/site.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/site.pp b/manifests/site.pp
index d725f42..30f462e 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -29,8 +29,8 @@ define apache::site($ensure = present, $docroot = false, $redirect = false,
if $hidden_service == true {
tor::daemon::hidden_service { $title:
ports => [ "80 127.0.0.1:80" ],
- data_dir => "/var/lib/tor/hidden",
- require => File["/var/lib/tor/hidden"],
+ data_dir => "${tor::daemon::data_dir}/hidden",
+ require => File["${tor::daemon::data_dir}/hidden"],
ensure => $ensure,
}
}