From 6e2c0d9cdebdaea965a1571133f1da254b29b357 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Mon, 9 Dec 2024 17:39:35 +0100 Subject: [PATCH] use backend naming for rpm/stagingrpm --- puppet/modules/web/manifests/vhost/rpm.pp | 2 +- puppet/modules/web/manifests/vhost/stagingrpm.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/puppet/modules/web/manifests/vhost/rpm.pp b/puppet/modules/web/manifests/vhost/rpm.pp index cb1127549..da83e07da 100644 --- a/puppet/modules/web/manifests/vhost/rpm.pp +++ b/puppet/modules/web/manifests/vhost/rpm.pp @@ -49,7 +49,7 @@ include apache::mod::mime web::vhost { 'rpm': - servername => $servername, + servername => "rpm-backend.${facts['networking']['fqdn']}", docroot => $rpm_directory, docroot_owner => $user, docroot_group => $user, diff --git a/puppet/modules/web/manifests/vhost/stagingrpm.pp b/puppet/modules/web/manifests/vhost/stagingrpm.pp index 0ffed108c..16440fd99 100644 --- a/puppet/modules/web/manifests/vhost/stagingrpm.pp +++ b/puppet/modules/web/manifests/vhost/stagingrpm.pp @@ -51,7 +51,7 @@ } web::vhost { 'stagingrpm': - servername => $servername, + servername => "stagingrpm-backend.${facts['networking']['fqdn']}", docroot => $rpm_staging_directory, docroot_owner => $user, docroot_group => $user,