diff options
author | mh <mh@immerda.ch> | 2008-12-07 15:14:20 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-12-07 15:14:20 +0000 |
commit | fe39299a0b8f9536c7be47ce9d9655885806fcd7 (patch) | |
tree | 831b58a87ae7476a83c7884bee41f2a655d88e02 | |
parent | 2b4710256ac5d638879c888427c8ce7e768546cf (diff) |
as domain can be absent it's better ti use the servername
-rw-r--r-- | manifests/defines/vhost_files.pp | 2 |
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 { |