diff --git a/puppet/modules/web/manifests/vhost/stagingyum.pp b/puppet/modules/web/manifests/vhost/stagingyum.pp index fc0a345a8..bad9031e9 100644 --- a/puppet/modules/web/manifests/vhost/stagingyum.pp +++ b/puppet/modules/web/manifests/vhost/stagingyum.pp @@ -42,7 +42,8 @@ } web::vhost { 'stagingyum': - servername => $servername, + servername => "stagingyum-backend.${facts['networking']['fqdn']}", + serveraliases => [ $servername ], docroot => $yum_directory, docroot_owner => $user, docroot_group => $user, diff --git a/puppet/modules/web/manifests/vhost/yum.pp b/puppet/modules/web/manifests/vhost/yum.pp index be7c1c635..0858750da 100644 --- a/puppet/modules/web/manifests/vhost/yum.pp +++ b/puppet/modules/web/manifests/vhost/yum.pp @@ -34,7 +34,8 @@ } web::vhost { 'yum': - servername => $servername, + servername => "yum-backend.${facts['networking']['fqdn']}", + serveraliases => [ $servername ], docroot => $yum_directory, docroot_owner => $user, docroot_group => $user,