summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-12-07 15:14:20 +0000
committermh <mh@immerda.ch>2008-12-07 15:14:20 +0000
commitfe39299a0b8f9536c7be47ce9d9655885806fcd7 (patch)
tree831b58a87ae7476a83c7884bee41f2a655d88e02 /manifests
parent2b4710256ac5d638879c888427c8ce7e768546cf (diff)
as domain can be absent it's better ti use the servername
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 {