We might be running unit tests and this Ruby library not
being available we will crash when puppet tries to autoload
this provider.
Change-Id: I199a498071cac7d0660b0ea573d38dc27c4c1358
EPEL is not required to use RDO. Users can use a different module such
as puppet-epel[1] if they really need EPEL for any other purpose.
[1] https://github.com/voxpupuli/puppet-epel
Change-Id: I9743e2711f64cff8c0636c1556cb1e943413fdad
Now Bookworm is supported instead of Bullseye.
The hard-coded name is replaced by a fact value so that we don't have
to update the value every time when we update the supported version.
Change-Id: Ide9e4a9531f7aab2746722dbf9bc76fdf26345c7
Debian 12 was released in June 2023. Recent versions of OpenStack
(actually, 2023.1 and later) no longer support Debian 11.
Change-Id: I6ac3b1765793611fb3a8214f7af2141282ecaed5
Usage of params classes is legacy and is rejected by recent lint rules.
Because we implement multiple repos classes for individual os family
and name, the params classese are not really useful, and can be
removed.
Change-Id: Ic80b17e2e374c7ddb651324c89318a5f128fe052
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: Ief25201a0e626ae17398c3767109bc2dfc28dfda
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='...
```
This also removes explicit setting of mock module. The definition is
no longer required since we bumped puppetlabs_spec_helper to v 5.0.0.
[1] 316d95923c
Change-Id: Id94f7feeec26e3efdc8e5463deaa52ee44b7d07f
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.
Change-Id: Id676db9a04ad004b29ce464d9b7249e909d4b11c
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: Ib186238daaa75da09de4c88386dcea650e08f7bc
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: Idf873a50a9e26723d06dc26da13ef9702253659e
The latest release of puppet-corosync does not yet support pcs 0.10.0,
which is now available in CentOS 8/9 or Ubuntu Focal/Jammy.
The unreleased change to adapt to pcs 0.10.0[1] made some breaking
interface change and our current implementation has not yet fully
adapt to it.
Because we haven't see any bug report or request to resolve this
situation, we can assume this implementation is not really used.
Furthermore we don't really have to use pacemaker for most of OpenStack
services, and we can use native resource agents such as systemd
resource agent instead of injecting own scripts.
Let's deprecate it so that we can remove it in a future release.
Change-Id: If90e21e41da40171a766c4740ef93d9c05ecd1c7
We haven't added any validations about these parameters but we
inexplicitly required specific types. This adds type validations to
avoid users from using wrong types.
Change-Id: I672fe9a99598ce40614bdab783f98c441ded7e62
Sometimes package update takes very long. This introduces a parameter
to make the command timeout tunable.
Change-Id: Icf089b50f497f3200e55877894b555e1e84a2d64
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: I3f7982daeb45fe73efe1113831d16fa692b21cb4
The purge logic was added during Yoga cycle[1] and the repository
should be purged when a deployment is upgraded to CentOS9/yoga.
[1] b59c8bb986
Change-Id: I40d9e65520955708d1f75394d8cb6e33ce8ba9ea
puppetlabs_spec_helper recommends rspec-mocks instead of mocha[1] and
it uses rspec-mocks by default instead of mocha since v 5.0.0[2]
This is the prep work to adapt to that migration.
[1] https://github.com/puppetlabs/puppetlabs_spec_helper/#mock_with
[2] 493f0cbc1c
Closes-Bug: #2004135
Change-Id: Ibaad33d7113c9ea9da77786647da6f615980faff
These parameters were deprecated during the past cycles and have no
effect since support for CentOS 8 has been completely removed.
Change-Id: I46cf7b3ae2e2d0cc8521653a1eba5ddb20d7e0eb
... because RDO will provide packages for only CentOS Stream 9 for Zed
release. This change removes RHEL 8 as well.
Change-Id: I1a0f00c8dcfa5ba71f32b630878cd4a2c95f35f1
Depends-on: https://review.opendev.org/843503
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: I256bb9333ce5636c585a78587c069526a767e274
Currently we use puppet-corosync v8.0.0 in CI. This change bumps
the upper version to include that tested version.
Change-Id: Icc83bcb09b83b5e0c2afe109e84b44dc47ccf24d
Now we are using puppetlabs-apt v8.4.1 in our CI. Let's bump the upper
version so that the constraint include that tested version.
Change-Id: Idbc63ce76287da4a1eb843112f64a46874b82142