feat: split reposync into two roles (#307)

- reposync and packagerepo web service
- change backing datastore to be cephfs /shared/app/packagerepo

Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/307
This commit was merged in pull request #307.
This commit is contained in:
2025-06-01 11:33:44 +10:00
parent 1df11b8977
commit bb2f59621a
9 changed files with 62 additions and 48 deletions
@@ -0,0 +1,11 @@
# a role to deploy the webserver for packagerepo
class roles::infra::reposync::repo {
if $facts['firstrun'] {
include profiles::defaults
include profiles::firstrun::init
}else{
include profiles::defaults
include profiles::base
include profiles::base::datavol
}
}
@@ -1,4 +1,4 @@
# a role to deploy a packagerepo
# a role to deploy the syncer/promoter for packagerepo
class roles::infra::reposync::syncer {
if $facts['firstrun'] {
include profiles::defaults