summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/defines/vhost_files.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/defines/vhost_files.pp b/manifests/defines/vhost_files.pp
index ce926de..29ddf49 100644
--- a/manifests/defines/vhost_files.pp
+++ b/manifests/defines/vhost_files.pp
@@ -218,7 +218,7 @@ define apache::vhost::template(
}
$serveralias = $domainalias ? {
'absent' => '',
- 'www' => "www.${domain}",
+ 'www' => "www.${servername}",
default => $domainalias
}
case $htpasswd_path {