Skip to content

Commit

Permalink
move yum config to backend server naming
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Nov 19, 2024
1 parent bb62b30 commit 2977b58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion puppet/modules/web/manifests/vhost/stagingyum.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion puppet/modules/web/manifests/vhost/yum.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2977b58

Please sign in to comment.