aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/web.pp10
1 files changed, 6 insertions, 4 deletions
diff --git a/manifests/web.pp b/manifests/web.pp
index ef5ef7c..5644e3e 100644
--- a/manifests/web.pp
+++ b/manifests/web.pp
@@ -1,4 +1,10 @@
class nodo::web inherits nodo::vserver {
+ # Hidden services
+ $hidden = hiera('nodo::web::hidden', false)
+ if $hidden == true {
+ include onion
+ }
+
# Classes for web nodes
include websites
include database
@@ -41,7 +47,3 @@ class nodo::web inherits nodo::vserver {
src => "/var/svn",
}
}
-
-class nodo::web::hidden inherits nodo::web {
- include onion
-}