zuul-jobs/roles/configure-mirrors/templates/etc/yum.repos.d/fedora.repo.j2
David Moreau-Simard a3fd046cc8 Add support for fedora in configure-mirrors
Change-Id: I05d87e2a846c2b72eee80e06eeceeb1f92e39f42
2017-09-07 20:22:30 +00:00

37 lines
976 B
Django/Jinja

# {{ ansible_managed }}
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl={{ package_mirror }}/releases/$releasever/Everything/$basearch/os/
enabled=1
metadata_expire=7d
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
baseurl={{ package_mirror }}/releases/$releasever/Everything/$basearch/debug/tree/
enabled=0
metadata_expire=7d
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
baseurl={{ package_mirror }}/releases/$releasever/Everything/source/tree/
enabled=0
metadata_expire=7d
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False