diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-27 20:04:45 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-27 20:04:45 -0200 |
commit | 4fc388167fe9016733e3f29c4ff018d5ba4d6e70 (patch) | |
tree | f2645c5155e51fa690888d9dd71c3648d4cfba2e | |
parent | b87be95e71545797c31269d0851c5781ec509404 (diff) | |
download | puppet-nodo-4fc388167fe9016733e3f29c4ff018d5ba4d6e70.tar.gz puppet-nodo-4fc388167fe9016733e3f29c4ff018d5ba4d6e70.tar.bz2 |
No need for nodo::web::hidden class
-rw-r--r-- | manifests/web.pp | 10 |
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 -} |