aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-27 20:04:45 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-27 20:04:45 -0200
commit4fc388167fe9016733e3f29c4ff018d5ba4d6e70 (patch)
treef2645c5155e51fa690888d9dd71c3648d4cfba2e /manifests
parentb87be95e71545797c31269d0851c5781ec509404 (diff)
downloadpuppet-nodo-4fc388167fe9016733e3f29c4ff018d5ba4d6e70.tar.gz
puppet-nodo-4fc388167fe9016733e3f29c4ff018d5ba4d6e70.tar.bz2
No need for nodo::web::hidden class
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
-}