aboutsummaryrefslogtreecommitdiff
path: root/manifests/role/web.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/role/web.pp')
-rw-r--r--manifests/role/web.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/role/web.pp b/manifests/role/web.pp
index 7cdd93f..4b58ca9 100644
--- a/manifests/role/web.pp
+++ b/manifests/role/web.pp
@@ -6,11 +6,15 @@ class nodo::role::web inherits nodo::vserver {
}
# Classes for web nodes
- include websites
include database
include users::virtual
include nodo::utils::web
+ # The websites class
+ if defined('websites') {
+ include websites
+ }
+
# Reprepro configuration
$reprepro = hiera('nodo::web::reprepro', false)
$reprepro_basedir = '/var/reprepro'