Compare commits

..

1 Commits

Author SHA1 Message Date
b34ca82273 chore: centralise all yum repo configuration
All checks were successful
Build / precommit (pull_request) Successful in 4m20s
- add 30+ repository definitions to AlmaLinux/all_releases.yaml with `ensure: absent` defaults
- update all role-specific hieradata files to use `ensure: present` pattern
- remove duplicated repository URL/GPG key configurations from individual roles
- maintains existing functionality while improving maintainability"
2026-01-14 22:08:34 +11:00
3 changed files with 6 additions and 15 deletions

View File

@ -127,8 +127,8 @@ profiles::yum::global::repos:
name: ceph
descr: ceph repository
target: /etc/yum.repos.d/ceph.repo
baseurl: https://packagerepo.service.consul/ceph/reef/rhel%{facts.os.release.major}/x86_64/
gpgkey: https://packagerepo.service.consul/ceph/reef/rhel%{facts.os.release.major}/x86_64/repodata/repomd.xml.key
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/ceph-reef/el-%{facts.os.release.major}/%{facts.os.architecture}
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/ceph-reef/el-%{facts.os.release.major}/%{facts.os.architecture}/repodata/repomd.xml.asc
gpgcheck: 1
mirrorlist: absent
ceph-noarch:
@ -136,19 +136,10 @@ profiles::yum::global::repos:
name: ceph-noarch
descr: ceph noarch repository
target: /etc/yum.repos.d/ceph.repo
baseurl: https://packagerepo.service.consul/ceph/reef/rhel%{facts.os.release.major}/noarch/
gpgkey: https://packagerepo.service.consul/ceph/reef/rhel%{facts.os.release.major}/x86_64/repodata/repomd.xml.key
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/ceph-reef/el-%{facts.os.release.major}/noarch
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/ceph-reef/el-%{facts.os.release.major}/noarch/repodata/repomd.xml.asc
gpgcheck: 1
mirrorlist: absent
ceph-reef:
ensure: absent
name: ceph-reef
descr: ceph reef repository
target: /etc/yum.repos.d/ceph.repo
baseurl: https://packagerepo.service.consul/ceph/reef/rhel%{facts.os.release.major}/%{facts.os.architecture}/
gpgkey: https://packagerepo.service.consul/ceph/reef/rhel%{facts.os.release.major}/%{facts.os.architecture}/repodata/repomd.xml.key
gpgcheck: 0
mirrorlist: absent
# Rancher RKE2 repositories
rancher-rke2-common-latest:

View File

@ -3,7 +3,7 @@ hiera_include:
- profiles::nginx::simpleproxy
profiles::yum::global::repos:
ceph-reef:
ceph:
ensure: present
profiles::ceph::client::keyrings:

View File

@ -24,7 +24,7 @@ frrouting::ospfd_interfaces:
area: 0.0.0.1
profiles::yum::global::repos:
ceph-reef:
ceph:
ensure: present
profiles::ceph::client::keyrings: