summaryrefslogtreecommitdiff
path: root/puppet/modules/site_static/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_static/manifests/init.pp')
-rw-r--r--puppet/modules/site_static/manifests/init.pp3
1 files changed, 1 insertions, 2 deletions
diff --git a/puppet/modules/site_static/manifests/init.pp b/puppet/modules/site_static/manifests/init.pp
index dd3f912d..8be791e5 100644
--- a/puppet/modules/site_static/manifests/init.pp
+++ b/puppet/modules/site_static/manifests/init.pp
@@ -74,8 +74,7 @@ class site_static {
if $tor {
$hidden_service = $tor['hidden_service']
$tor_domain = "${hidden_service['address']}.onion"
- if $hidden_service['active'] {
- include site_static::hidden_service
+ class { 'site_static::hidden_service': single_hop => $hidden_service['single_hop']
}
# Currently, we only support a single hidden service address per server.
# So if there is more than one domain configured, then we need to make sure