summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index e921255..edd84a8 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -92,6 +92,11 @@ class apache {
'': { $apache_error_dest = "${apache_error_folder}/index.html" }
}
+ $use_domain = $apache_use_domain ? {
+ '' => $domain,
+ default => $apache_use_domain,
+ }
+
define site($ensure = present, $docroot = false, $redirect = false,
$redirect_match = false, $protocol = 'http',
$server_alias = false, $use = false, $ticket = false,