CentOS Stream 9 packages are hosted at mirror.stream.centos.org instead
of mirror.centos.org. Also the directory structure is a bit different
in the new mirror server.
Closes-Bug: #1978332
Change-Id: Ie8436a527fc308b70a7c3b34fb86a32604f836ff
The advanced virtualization repository is not available for CentOS
Stream 9. This change disables the repository by default accordingly.
Closes-Bug: #1969484
Change-Id: If888cf4f37a625f54ba89ae40a4f30e76c11987e
The RDO and CentOS Advanced Virt repositories contains
packages that should be considered hotfixes to version
found in Base repo and similar and should have priority
over them.
The yumrepo_core [1] change that was released in 1.0.7
adds the module_hotfixes parameter to yumrepo and it's
included in Puppet >= 6.15.0 which we should set to true
to make sure packages in RDO and CentOS Advanced Virt
repos is considered hotfixes upon base packages.
When we only support Puppet 7 and forward we should set
this by default for the yumrepo resources.
[1] a14c059b7d
Depends-On: https://review.opendev.org/c/792966
Change-Id: Ie747273e2ce23fadba0f3946e227ee143c1632db
Remove old compatibility code for CentOS 7,
cleanup code and made it more logical and easier
to read. Rework all testing so we test everything.
Change-Id: Ia8564dec7da0c19fe1d0f45fba7ba5f21238aa4a
This patch allows operators to use .repo file directly to configure
yum repogitories on RHEL/CentOS node, so that they can use the .repo
file provided in RDO repository directly.
This is useful especially in RDO CentOS8, because now it provides
seprated repogitory namespaces for modules.
Depends-on: https://review.opendev.org/#/c/742146/
Change-Id: I53c30652df0168f941bec10d0f462e44512ce39a
Move the EPEL testing to its own context
because we were testing with a specified
value that was not the default.
Change-Id: Ib51009fb3584ea6ec8f423a5e8b2486714e47fe8
Make sure to change these early so that we don't
forget them when releasing next release.
We are overriding these in testing so they don't
cause any troubles.
Change-Id: Iade37928e9875019c6fbf89827abaab9ec7831b3
This changes the repos from rocky to stein.
It's safe from a testing perspective since we
pin these in p-o-i.
Change-Id: If9f1b9eec21b14aad41fd6c91d764b433bca2930
Make default use rocky, just a preparation
to so it's not forgotten when its released.
We still pin version in p-o-i so we should be fine.
Change-Id: Ie687a1386e09a2db86caab57cde938224f79777e
RDO doesn't set priority in repository configuration via
rdo-release or centos openstack releases rpms.
This is currently being a problem as dependencies for qemu-kvm-ev-2.6.0
must be resolved from base and RDO ships same packages with lower VR
for historical reasons.
Change-Id: Ifb0ec9ca8a98a15984145972e99915e7eb23eb99
Introduce manage_virt boolean (True by default) to whether or not
configure RDO CentOS QEMU EV repository, required when deploying
OpenStack Newton with RDO repositories.
Change-Id: If62801a4975039714d9986a548b2144e448e00f7
yum-plugin-priorities needs to be installed before installing any
package, otherwise if we install it after having repos in place, it
becomes useless.
This patch makes sure we install yum-plugin-priorities before any
Yumrepo resource, so we make sure that Yum priorities will be addressed
correctly.
Change-Id: If99af9b7fd90b1408747a4be874aebeb05dfb2d6
yum-plugin-priorities package is needed when running RDO trunk
packaging, repositories have priorities and we need to address them.
This patch adds a boolean: $manage_priorities, set to True by default.
If set to False, yum-plugin-priorities package won't be installed by
this module.
Change-Id: I3ac207f744847b5742fc331d2c16d1dad475f9ea
In openstack_extras_repo_spec, we hardcode the version of the release.
It was liberty, it's now mitaka since our recent CI bump.
Change-Id: I90b6f0bbeb76c870f0ab26cf0ff9bdcbb0cb5ca8
Partial-Bug: #1535382
This change adds the os_service_default for tests as they are currently
failing due to a pick() failing because os_service_default is not
defined as a fact.
Change-Id: Ib095e946a964e29e7fb624ca6e6dd24477787a1e
* 41 conversions
from: it { should ... }
to: it { is_expected.to ... }
* 5 conversions
from: it { should_not ... }
to: it { is_expected.to_not ... }
Change-Id: I143aec9fa309b4bbd664fa205b044131cfadc03b
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Yum can process the mirror list in metalink format, which provides additional
security checking capability.
Yum compares the SHA1 checksums of each repository's repomd.xml file against
that of the master mirrors.
This ensures that significantly out-of-date mirrors are not used and
should reduce our CI timeouts issues.
Change-Id: I5beb0de2bca28b12001aaae01b5503d69bfb7727
In kilo, the RDO repository changed the end of its URL path from
'epel-7' to 'el7' for RedHat and CentOS and from 'fedora-#' to 'f#'.
Judging by the liberty testing repository, this will continue to be the
pattern for future releases. This patch adds logic to use the correct
path for Kilo and future releases. It also updates the GPG key to use
the correct one from the RDO-release repository[1].
[1] https://github.com/redhat-openstack/rdo-release/blob/master/RPM-GPG-KEY-RDO-kilo
Change-Id: Ia309b78e81236dee95d2d741fece323929b35709
This patch adds support for managing repos
for major distros, separated by osfamily at
the top level and operatingsystem below that.
Since redhat, fedora and centos can all install
from rdo, which is the only current option, the
fedora and centos classes simply wrap around the
redhat one. This may change in the future if any
of them change (for example if RHOS support is
added and redhat is now different to fedora)
Change-Id: I5b18f393999d6f70757a2dfd9b12da049d6b64e1