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
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: Ib9cebeadc574bd226139805bf00bc26de4af4cc3
The latest release of setuptools 61.0 made a breaking change[1] and
because of this change 'pip install' fails with the following error.
~~~
error: Multiple top-level packages discovered in a flat-layout:
['lib', 'spec', 'manifests', 'releasenotes'].
~~~
Users that don't set 'packages', 'py_modules', or configuration'
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.
To disable auto discovery, one can do below in setup.py
~~~
setuptools.setup(..,packages=[],..)
~~~
or
~~~
setuptools.setup(..,py_modules=[],..)
~~~
[1] https://github.com/pypa/setuptools/issues/3197
Note setup.py is not used to install puppet modules. However it is used
to generate a release note, thus should be fixed.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I80ec5176113aa0c5cee7d56038d08e51ac21e89a
All strings are considered as unicode string from Python 3.
This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.
Change-Id: I0df137415b804b390fee5579c5e4ab1147a065fa
Co-Authored-By: LiZekun <2954674728@qq.com>
Add file to the reno documentation build to show release notes for
stable/xena.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.
Sem-Ver: feature
Change-Id: I1657a5f27788d42d3f3957fa6deffb94880c899a
puppetlabs-stdlib is now using the 8.0.0 version, so we should fix the
stdlib version in metadata.
Change-Id: I00ef3ae716706b4b2b7d522a9ab59aeccbc73263
Puppet 7 has been tested in CI for a while but we haven't seen any
issue with it. Let's officially support the version.
Change-Id: I48711627f3a377bd0fc520b1a20bc471f42f5bd8
Fedora support is never tested, and has been unmaintained for a while.
Because we don't expect any actual user using OpenStack on Fedora, this
change drops support for Fedora directly.
Change-Id: I4ca4c8b93a81e5146f28f2bdf152882e737be0bf
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
This change defines manifest_dir and module_path expicitly in unit
tests so that modules installed under fixtures directory is properly
loaded.
Closes-Bug: #1930403
Change-Id: I553db674fe84522f9d04714925ceec3655b81292
We should use the full path, not just "extrepo", otherwise, we get
a puppet error:
"failed: 'extrepo' is not qualified and no path was specified.
Please qualify the command or specify a path."
Change-Id: Iac40476e073f22bdb997b9f56824aa19d6f61505
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I924b0e3cbdc77be22119f793e8730e2d2fab8e4a
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
The old method used in manifests/repo/debian/debian.pp that was
using apt-key is currently deprecated. apt-key itself is going
to be removed in 2021. Also, downloading a random repository key
from the internet is questionable at least.
So I'm switching to use extrepo by default for setting-up the
Debian repositories. It's nice, it's official, and it's in
Bullseye already. It also is authenticated by default, and supports
additional repositories (so it's prepared for the future).
Change-Id: I7686a1cf541c81a9a14ef05542e31053c47e3f51
Add file to the reno documentation build to show release notes for
stable/wallaby.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.
Sem-Ver: feature
Change-Id: I56bab31f99f95031009f373431afe095bd6c51c5