72bcbacddb
AlmaLinux hosts still pulled in-house RPMs from the legacy `unkin` repo hosted on Gitea (git.query.consul), and a second legacy Gitea repo `unkinben` was enabled fleet-wide. This moves AlmaLinux hosts fully onto the artifactapi local rpm repos so all hosts get the in-house/vendored set for their EL release, matching the artifactapi-is-the-real-registry model already used for baseos/epel/etc., and removes both legacy Gitea yum repos. Depends on unkin/terraform-artifactapi#15 (creates the general `rpm-vendor` local repo); that should apply before this reaches hosts. ### RPM source migration - retarget `rpm-vendor` to the distribution-agnostic `local/rpm-vendor` repo - add `rpm-internal-release`/`rpm-vendor-release`, resolved from `os.release.major` so el8 hosts pull `-el8`, el9 hosts `-el9`, etc. - remove the legacy `unkin` yumrepo definition (its content now comes from rpm-internal/rpm-vendor) ### unkinben removal - remove the `unkinben` yumrepo definition from `AlmaLinux/all_releases.yaml` - remove the `unkinben` `ensure: present` override from the jellyfin media role (its only consumer) - `purge => true` on the yum profile then cleans `/etc/yum.repos.d/unkin.repo` from hosts **Heads-up for reviewer:** the jellyfin role installs `jellyfin-web`, `jellyfin-server`, and `jellyfin-ffmpeg-bin` from unkinben. These packages exist **only** in unkinben, so once it is removed they will remain installed but **stop receiving updates** until they are republished into artifactapi (e.g. `rpm-internal-elN`). Jellyfin's other deps (`SDL2`, `ffmpeg`, `ffmpeg-devel`) come from rpmfusion and are unaffected. The `unkinben` *generic* archive downloads used by the *arr modules (sonarr/radarr/prowlarr/lidarr/readarr) and glauth are direct HTTP fetches, not the yum repo, and are untouched. https://claude.ai/code/session_015ur3i7D2azsMAWTSVABApv Reviewed-on: #496 Co-authored-by: Ben Vincent <ben@unkin.net> Co-committed-by: Ben Vincent <ben@unkin.net>
285 lines
13 KiB
YAML
285 lines
13 KiB
YAML
# hieradata/os/almalinux/all_releases.yaml
|
|
---
|
|
profiles::firewall::firewalld::ensure_package: 'absent'
|
|
profiles::firewall::firewalld::ensure_service: 'stopped'
|
|
profiles::firewall::firewalld::enable_service: false
|
|
profiles::puppet::agent::version: '7.37.2'
|
|
profiles::puppet::agent::openvox_enable: true
|
|
|
|
hiera_include:
|
|
- profiles::almalinux::base
|
|
|
|
profiles::packages::include:
|
|
crypto-policies-scripts: {}
|
|
lzo: {}
|
|
policycoreutils: {}
|
|
unar: {}
|
|
xz: {}
|
|
|
|
lm-sensors::package: lm_sensors
|
|
|
|
profiles::yum::global::repos:
|
|
baseos:
|
|
name: baseos
|
|
descr: baseos repository
|
|
target: /etc/yum.repos.d/baseos.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/%{lookup('almalinux-base-repo')}/%{facts.os.release.full}/BaseOS/%{facts.os.architecture}/os/
|
|
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/%{lookup('almalinux-base-repo')}/%{facts.os.release.full}/BaseOS/%{facts.os.architecture}/os/RPM-GPG-KEY-AlmaLinux-%{facts.os.release.major}
|
|
mirrorlist: absent
|
|
extras:
|
|
name: extras
|
|
descr: extras repository
|
|
target: /etc/yum.repos.d/extras.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/%{lookup('almalinux-base-repo')}/%{facts.os.release.full}/extras/%{facts.os.architecture}/os/
|
|
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/%{lookup('almalinux-base-repo')}/%{facts.os.release.full}/extras/%{facts.os.architecture}/os/RPM-GPG-KEY-AlmaLinux-%{facts.os.release.major}
|
|
mirrorlist: absent
|
|
appstream:
|
|
name: appstream
|
|
descr: appstream repository
|
|
target: /etc/yum.repos.d/appstream.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/%{lookup('almalinux-base-repo')}/%{facts.os.release.full}/AppStream/%{facts.os.architecture}/os/
|
|
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/%{lookup('almalinux-base-repo')}/%{facts.os.release.full}/AppStream/%{facts.os.architecture}/os/RPM-GPG-KEY-AlmaLinux-%{facts.os.release.major}
|
|
mirrorlist: absent
|
|
highavailability:
|
|
name: highavailability
|
|
descr: highavailability repository
|
|
target: /etc/yum.repos.d/highavailability.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/%{lookup('almalinux-base-repo')}/%{facts.os.release.full}/HighAvailability/%{facts.os.architecture}/os/
|
|
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/%{lookup('almalinux-base-repo')}/%{facts.os.release.full}/HighAvailability/%{facts.os.architecture}/os/RPM-GPG-KEY-AlmaLinux-%{facts.os.release.major}
|
|
mirrorlist: absent
|
|
crb:
|
|
ensure: absent
|
|
name: crb
|
|
descr: crb repository
|
|
target: /etc/yum.repos.d/crb.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/%{lookup('almalinux-base-repo')}/%{facts.os.release.full}/CRB/%{facts.os.architecture}/os/
|
|
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/%{lookup('almalinux-base-repo')}/%{facts.os.release.full}/CRB/%{facts.os.architecture}/os/RPM-GPG-KEY-AlmaLinux-%{facts.os.release.major}
|
|
mirrorlist: absent
|
|
powertools:
|
|
ensure: absent
|
|
name: powertools
|
|
descr: powertools repository
|
|
target: /etc/yum.repos.d/powertools.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/%{lookup('almalinux-base-repo')}/%{facts.os.release.full}/PowerTools/%{facts.os.architecture}/os/
|
|
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/%{lookup('almalinux-base-repo')}/%{facts.os.release.full}/PowerTools/%{facts.os.architecture}/os/RPM-GPG-KEY-AlmaLinux-%{facts.os.release.major}
|
|
mirrorlist: absent
|
|
epel:
|
|
name: epel
|
|
descr: epel repository
|
|
target: /etc/yum.repos.d/epel.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/epel/%{facts.os.release.major}/Everything/%{facts.os.architecture}
|
|
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/epel/RPM-GPG-KEY-EPEL-%{facts.os.release.major}
|
|
mirrorlist: absent
|
|
rpm-internal:
|
|
name: rpm-internal
|
|
descr: rpm-internal repository
|
|
target: /etc/yum.repos.d/rpm-internal.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/local/rpm-internal/
|
|
gpgcheck: false
|
|
mirrorlist: absent
|
|
rpm-vendor:
|
|
name: rpm-vendor
|
|
descr: rpm-vendor repository
|
|
target: /etc/yum.repos.d/rpm-vendor.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/local/rpm-vendor/
|
|
gpgcheck: false
|
|
mirrorlist: absent
|
|
# Per-release variants, resolved from the host's EL major version so el8
|
|
# hosts pull rpm-internal-el8/rpm-vendor-el8, el9 hosts el9, etc.
|
|
rpm-internal-release:
|
|
name: rpm-internal-el%{facts.os.release.major}
|
|
descr: rpm-internal-el%{facts.os.release.major} repository
|
|
target: /etc/yum.repos.d/rpm-internal-release.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/local/rpm-internal-el%{facts.os.release.major}/
|
|
gpgcheck: false
|
|
mirrorlist: absent
|
|
rpm-vendor-release:
|
|
name: rpm-vendor-el%{facts.os.release.major}
|
|
descr: rpm-vendor-el%{facts.os.release.major} repository
|
|
target: /etc/yum.repos.d/rpm-vendor-release.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/local/rpm-vendor-el%{facts.os.release.major}/
|
|
gpgcheck: false
|
|
mirrorlist: absent
|
|
|
|
# Additional repositories - default to absent, roles can override with ensure: present
|
|
# FRRouting repositories
|
|
frr-extras:
|
|
ensure: absent
|
|
name: frr-extras
|
|
descr: frr-extras repository
|
|
target: /etc/yum.repos.d/frr-extras.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/frr/el%{facts.os.release.major}/extras
|
|
gpgcheck: false
|
|
mirrorlist: absent
|
|
frr-stable:
|
|
ensure: absent
|
|
name: frr-stable
|
|
descr: frr-stable repository
|
|
target: /etc/yum.repos.d/frr-stable.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/frr/el%{facts.os.release.major}/frr
|
|
gpgcheck: false
|
|
mirrorlist: absent
|
|
|
|
# PostgreSQL repositories
|
|
postgresql-15:
|
|
ensure: absent
|
|
name: postgresql-15
|
|
descr: postgresql-15 repository
|
|
target: /etc/yum.repos.d/postgresql.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/postgresql/15/redhat/rhel-%{facts.os.release.major}-%{facts.os.architecture}
|
|
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/postgresql/keys/PGDG-RPM-GPG-KEY-RHEL
|
|
postgresql-17:
|
|
ensure: absent
|
|
name: postgresql-17
|
|
descr: postgresql-17 repository
|
|
target: /etc/yum.repos.d/postgresql.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/postgresql/17/redhat/rhel-%{facts.os.release.major}-%{facts.os.architecture}
|
|
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/postgresql/keys/PGDG-RPM-GPG-KEY-RHEL
|
|
postgresql-common:
|
|
ensure: absent
|
|
name: postgresql-common
|
|
descr: postgresql-common repository
|
|
target: /etc/yum.repos.d/postgresql.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/postgresql/common/redhat/rhel-%{facts.os.release.major}-%{facts.os.architecture}
|
|
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/postgresql/keys/PGDG-RPM-GPG-KEY-RHEL
|
|
|
|
# Ceph repositories
|
|
ceph:
|
|
ensure: absent
|
|
name: ceph
|
|
descr: ceph repository
|
|
target: /etc/yum.repos.d/ceph.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/ceph-reef/el%{facts.os.release.major}/%{facts.os.architecture}
|
|
gpgcheck: false
|
|
mirrorlist: absent
|
|
ceph-noarch:
|
|
ensure: absent
|
|
name: ceph-noarch
|
|
descr: ceph noarch repository
|
|
target: /etc/yum.repos.d/ceph.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/ceph-reef/el%{facts.os.release.major}/noarch
|
|
gpgcheck: false
|
|
mirrorlist: absent
|
|
|
|
# Rancher RKE2 repositories
|
|
rancher-rke2-common-latest:
|
|
ensure: absent
|
|
name: rancher-rke2-common
|
|
descr: rancher-rke2-common repository
|
|
target: /etc/yum.repos.d/rancher-rke2-common.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/rke2/rke2/latest/common/centos/%{facts.os.release.major}/noarch
|
|
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/rke2/public.key
|
|
gpgcheck: 1
|
|
mirrorlist: absent
|
|
rancher-rke2-1-33-latest:
|
|
ensure: absent
|
|
name: rancher-rke2-1.33-latest
|
|
descr: rancher-rke2-1.33-latest repository
|
|
target: /etc/yum.repos.d/rancher-rke2.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/rke2/rke2/latest/1.33/centos/%{facts.os.release.major}/%{facts.os.architecture}
|
|
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/rke2/public.key
|
|
gpgcheck: 1
|
|
mirrorlist: absent
|
|
|
|
# CentOS repositories for legacy systems
|
|
centos_8_advanced_virtualization:
|
|
ensure: absent
|
|
name: centos_8_advanced_virtualization
|
|
descr: centos_8_advanced_virtualization repository
|
|
target: /etc/yum.repos.d/centos.repo
|
|
baseurl: https://edgecache.query.consul/centos/8/virt/x86_64/advanced-virtualization
|
|
gpgkey: http://edgecache.query.consul/centos/RPM-GPG-KEY-CentOS-SIG-Virtualization
|
|
gpgcheck: 1
|
|
mirrorlist: absent
|
|
centos_8_ceph_pacific:
|
|
ensure: absent
|
|
name: centos_8_ceph_pacific
|
|
descr: centos_8_ceph_pacific repository
|
|
target: /etc/yum.repos.d/centos.repo
|
|
baseurl: https://edgecache.query.consul/centos/8/storage/x86_64/ceph-pacific
|
|
gpgkey: http://edgecache.query.consul/centos/RPM-GPG-KEY-CentOS-SIG-Storage
|
|
gpgcheck: 1
|
|
mirrorlist: absent
|
|
centos_8_rabbitmq_38:
|
|
ensure: absent
|
|
name: centos_8_rabbitmq_38
|
|
descr: centos_8_rabbitmq_38 repository
|
|
target: /etc/yum.repos.d/centos.repo
|
|
baseurl: https://edgecache.query.consul/centos/8/messaging/x86_64/rabbitmq-38
|
|
gpgkey: http://edgecache.query.consul/centos/RPM-GPG-KEY-CentOS-SIG-Messaging
|
|
gpgcheck: 1
|
|
mirrorlist: absent
|
|
centos_8_nfv_openvswitch:
|
|
ensure: absent
|
|
name: centos_8_nfv_openvswitch
|
|
descr: centos_8_nfv_openvswitch repository
|
|
target: /etc/yum.repos.d/centos.repo
|
|
baseurl: https://edgecache.query.consul/centos/8/nfv/x86_64/openvswitch-2
|
|
gpgkey: http://edgecache.query.consul/centos/RPM-GPG-KEY-CentOS-SIG-NFV
|
|
gpgcheck: 1
|
|
mirrorlist: absent
|
|
centos_8_openstack_xena:
|
|
ensure: absent
|
|
name: centos_8_openstack_xena
|
|
descr: centos_8_openstack_xena repository
|
|
target: /etc/yum.repos.d/centos.repo
|
|
baseurl: https://edgecache.query.consul/centos/8/cloud/x86_64/openstack-xena
|
|
gpgkey: http://edgecache.query.consul/centos/RPM-GPG-KEY-CentOS-SIG-Cloud
|
|
gpgcheck: 1
|
|
mirrorlist: absent
|
|
centos_8_opstools:
|
|
ensure: absent
|
|
name: centos_8_opstools
|
|
descr: centos_8_opstools repository
|
|
target: /etc/yum.repos.d/centos.repo
|
|
baseurl: https://edgecache.query.consul/centos/8/opstools/x86_64/collectd-5
|
|
gpgkey: http://edgecache.query.consul/centos/RPM-GPG-KEY-CentOS-SIG-OpsTools
|
|
gpgcheck: 1
|
|
mirrorlist: absent
|
|
centos_8_ovirt45:
|
|
ensure: absent
|
|
name: centos_8_ovirt45
|
|
descr: centos_8_ovirt45 repository
|
|
target: /etc/yum.repos.d/centos.repo
|
|
baseurl: https://edgecache.query.consul/centos/8/virt/x86_64/ovirt-45
|
|
gpgkey: http://edgecache.query.consul/centos/RPM-GPG-KEY-CentOS-SIG-Virtualization
|
|
gpgcheck: 1
|
|
mirrorlist: absent
|
|
centos_8_stream_gluster10:
|
|
ensure: absent
|
|
name: centos_8_stream_gluster10
|
|
descr: centos_8_stream_gluster10 repository
|
|
target: /etc/yum.repos.d/centos.repo
|
|
baseurl: https://edgecache.query.consul/centos/8-stream/storage/x86_64/gluster-10
|
|
gpgkey: http://edgecache.query.consul/centos/RPM-GPG-KEY-CentOS-SIG-Storage
|
|
gpgcheck: 1
|
|
mirrorlist: absent
|
|
|
|
# Additional repositories
|
|
zfs-kmod:
|
|
ensure: absent
|
|
name: zfs-kmod
|
|
descr: zfs-kmod repository
|
|
target: /etc/yum.repos.d/zfs.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/zfs/epel/%{facts.os.release.major}/kmod/%{facts.os.architecture}/
|
|
gpgcheck: false
|
|
mirrorlist: absent
|
|
rpmfusion-free:
|
|
ensure: absent
|
|
name: rpmfusion-free
|
|
descr: rpmfusion-free repository
|
|
target: /etc/yum.repos.d/rpmfusion-free.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/rpmfusion-free/el/updates/%{facts.os.release.major}/%{facts.os.architecture}/
|
|
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/rpmfusion-free/el/RPM-GPG-KEY-rpmfusion-free-el-%{facts.os.release.major}
|
|
gpgcheck: 1
|
|
mirrorlist: absent
|
|
rpmfusion-nonfree:
|
|
ensure: absent
|
|
name: rpmfusion-nonfree
|
|
descr: rpmfusion-nonfree repository
|
|
target: /etc/yum.repos.d/rpmfusion-nonfree.repo
|
|
baseurl: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/rpmfusion-nonfree/el/updates/%{facts.os.release.major}/%{facts.os.architecture}/
|
|
gpgkey: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/rpmfusion-nonfree/el/RPM-GPG-KEY-rpmfusion-nonfree-el-%{facts.os.release.major}
|
|
gpgcheck: 1
|
|
mirrorlist: absent
|