feat: split reposync into two roles

- reposync and packagerepo web service
- change backing datastore to be cephfs /shared/app/packagerepo
This commit is contained in:
2025-05-31 23:01:39 +10:00
parent 1df11b8977
commit af83dd9d4f
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