summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 8505d7c..f9c3a81 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -92,6 +92,10 @@ class apache {
'': { $apache_error_dest = "${apache_error_folder}/index.html" }
}
+ case $apache_server_name {
+ '': { $apache_server_name = $fqdn }
+ }
+
define site($ensure = present, $docroot = false, $redirect = false,
$redirect_match = false, $protocol = 'http',
$server_alias = false, $use = false, $ticket = false,