The logic is no longer needed since puppetlabs-inifile 0.10.0[1] and
the current minimum version is 2.0.0.
[1] 2f22483c87
Change-Id: I9ff03613d5ac5fc883cf31dad0648744d1a96ef9
Debian 12 was released in June 2023. Recent versions of OpenStack
(actually, 2023.1 and later) no longer support Debian 11.
Change-Id: Ia3ab04b033d40efef8e1851c0ebd5a56d8e21d55
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: I0ac26bfb2b0fc362effaf83e347547738771c4e4
Recent update in rspec-puppet removed some of the config interfaces for
old puppet versions[1]. This drops usage of these interfaces to resolve
the following error in unit tests.
```
An error occurred while loading ./spec/unit/provider/manila_spec.rb.
Failure/Error: c.manifest_dir = File.join(fixture_path, 'manifests')
NoMethodError:
undefined method `manifest_dir='...
```
[1] 316d95923c
Change-Id: I0a3be947704009a723bfc3181c5277afa12ec933
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.
Change-Id: Ibb4fb7312f5b5b16234e016870fa4c802fd905f4
The oslo.policy library has implementations to detect change in policy
rules and reload the new rules without service restart.
Change-Id: I0f91c24b97703cc0388e2aa89511b329928aff84
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: Icb781734ed8c0a0423df0231cac32d9e97e2d86a
We've seen release job failures caused by too large tarball, which
contains irrelevant files like git history.
Let's exclude these files to reduce size of the archive.
The file is copied from the puppetlabs repositories with some files
specific to OpenStack projects added.
Change-Id: Id75afbccc3ab9a06abc489126e7f1167aaa71185
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.
Change-Id: Iba76019586c96cdbc1330ecec7852a7d51c6df13
The cleanup resources were added before 2023.1 release[1] so these
configurations should be removed when a deployment is upgraded to
2023.1.
[1] d5ffaf4cec
Change-Id: I7e2f08fc30cebf7f326ef3d5a3955956b79f11f3
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: Iff80ab9f3efeeb31a089ef7f57d8d7f71ab44591
This reverts commit e3f44b4ef5.
Reason for revert:
The original change was wrong because ec2api uses own ssl options
instead of ones imported by oslo.service.
Conflicts:
manifests/api.pp
Closes-Bug: #2011569
Change-Id: I592fc1da6b364f017a7892a30ff42a61d86f4d9f
The option has been managed by the underlying puppet-oslo module but
has not been configurable. This introduces the parameter to customize
the option.
Change-Id: I2382514189617edb9454c3d9e8b5f15de9c96237
This parameter was deprecated during the previous cycle by [1] because
the actual parameter no longer exists.
[1] a72e6fe949
Change-Id: Ieb53368b269f3323f54a0d14caf00dcf9b136831
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I72fda0b8ec85f75fdf06d4760ed00e2f8bb2bd67
This reverts commit c12186f850.
Reason for revert:
puppet-postgresql 8.1.0 was released and now the module supports RHEL 9
(and CentOS 9 effectively).
Note:
This change adds the service_provider fact in test fact data because
it is required by puppet-postgresql.
Depends-on: https://review.opendev.org/850705
Change-Id: I3f4b076bcd4754adfce0fba4117cf1bf26a1649f
The value with a white space should be accepted instead of being
rejected. This change fixes the wrong test case description and makes
sure the description explains what is actually tested.
Change-Id: I773e1982437b8d3e0fb8cda26bf35f0e48521481
... because RDO will provide packages for only CentOS Stream 9 for Zed
release. This change removes RHEL 8 as well.
Depends-on: https://review.opendev.org/843503
Change-Id: I4cc7720542e6e636158e4d6e9b2b4af369f0d51e
The ssl_* parameters in the [DEFAULT] sections were deprecated and
the [ssl] parameters should be used instead[1].
[1] 2e2940d1e17706b9d6367ff1783bde9d41891bfa
Change-Id: If5ee27626b778bda4d8cb47162691f3cced35955
... because the parameter was already removed[1].
The ssl_ca_file parameter is left because it is still used by
the oslo_service library.
[1] 5fc752ca6fd1588cc04f3073d1c300d985581041
Change-Id: Ia1035589c68790239c6619f4f3f9b33d7b5ae66a
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: I637150a68e07791ca37ad798a912902ef291ee72
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: I1849d008833a689d8fb17efc815dadb3ec8e2d22
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: I3a7857f93490669878af76928bdf2e13991bb977
Co-Authored-By: LiZekun <2954674728@qq.com>