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:
@@ -29,6 +29,9 @@ download_gpg_key() {
|
||||
curl -s --create-dirs -o "${basepath}/live/${reponame}/${filename}" "$gpgkeyurl" || {
|
||||
echo "Failed to download GPG key from $gpgkeyurl"
|
||||
}
|
||||
|
||||
# import the gpg key
|
||||
rpm --import "${basepath}/live/${reponame}/${filename}" || echo "Failed to import gpg key ${basepath}/live/${reponame}/${filename}"
|
||||
}
|
||||
|
||||
# Function to perform rsync with hard links
|
||||
|
||||
Reference in New Issue
Block a user