This change refactors the ceph::key defined resource type so that
unnecessary spaces are removed from commands.
Change-Id: I2cdd9b3c9bac086a57cda67430eba0f0826744b3
The puppet-keystone module provides the common defined resource type to
manage all resources needed to integrate a service to keystone. This
replaces the existing bare implementation by the common resource.
Change-Id: Ibec4407b2816869d62478de0ea5a780a70c08ffb
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: I4b91658648c8cef2176264e995366e1ff73ce00b
CentOS 8 reached its EOL a while ago. Because we already removed
support for CentOS 7, we no longer support any non-stream CentOS
versions.
This deprecates the stream parameter and makes the stream repository
used always.
Change-Id: Iba3c8aea2f6dd8b9cca17ed1468a43d6c7d39b53
The train release was the last release with CentOS 7 support, but it is
now being transitioned to EOL.
This change removes support for CentOS 7 and RHEL 7 because we no
longer support any OpenStack release supporting these old operating
systems.
Because fastcgi package was available for only CentOS/RHEL 7, its
support is also removed by this change.
This also removes the wrong warning message for rgw deployment with
mod_proxy_fcgi. This pattern is still valid in supported operating
systems and only the one with mod_fastcgi should be deprecated or
removed.
Change-Id: I1238b23f1aee57641788a21556123bec94a1ed1b
This introduces support for the rgw_keystone_accepted_admin_roles
option of RADOS Gateway Keystone integration.
Change-Id: I74778f12110683abf5c38e98bb72a0d89e8db2c6
... because that causes undefined variables error in case the params
class is not included in advance.
Change-Id: Ibc74d5433645e06eb9f1d0d736bcc41c9c5f3d4e
This introduces a few new parameters to the profile class so that users
can enable keystone integration of RADOS Gateway.
This allows us to fix some ignored profile parameters, and also remove
the references from the non-profile manifest to the profile parameters.
The rgw_keystone_version parameter is removed by this change.
The actual parameter was deprecated[1] and was removed[2] from the rgw
class very long ago.
[1] 85b9d61c40
[2] 0377da4e08
Change-Id: I4026d3c2d40ae9b7ed9c3a60529011854b878f89
In OpenStack deployment we more commonly use `member` than `Member`.
Also the `member` role is now implied by the `admin` role.
This removes the Member role to get rid of the unused role and follow
the standard roles.
Change-Id: I64175a3d485358af9a012060826dcedbe24b1042
The mirror server for CentOS Stream 9 supports https and access using
http is redirected to https.
Change-Id: I1ada67c7d960b3aed121296e367eaf2a3264ecd4
This parameter was used for directory creation but has never been
added to the config file properly. This ensures the rgw_data option is
set so that the specified directory is used to store data.
Change-Id: I2cf5510e21de2879e1f0aa458a98e70b85e4ac0f
The rpm spec was updated in v9.0.2 (Infernalis release)[1] and
the directory is created by the package.
Because currently we support only Luminous (which is the oldest version
used with stable/train) we no longer need to maintain the workaround
for very old package versions.
[1] bf93128f66
Change-Id: Idd085c566cdc06a117227e67a728af7e5c2abd5e
Thsi fixes the unknown variable errors caused by usage of
ceph::profile::fsid. The definition in ceph::profile should NOT be used
by generic implementation outside of profile modules.
Change-Id: I3bdb153f917838e309288b80a18af4a494d13a4d
Currently we expect only 'cephx' or 'none' as authentication_type. This
enforces that limitation using parameter types..
Change-Id: I9d783e500f94b3f474d657ab10b1594ab6e6e65b
This is the first step to get rid of the errors found in unit tests
with Puppet 8, and fixes some undefined variables found in ceph::osd.
This also fixes a few redundant spaces appearing in commands.
Change-Id: I52b26701e77af44e8fb80106a6d1b6dbd34f133d
This module now supports only Puppet 5 or newer versions thus we no
longer need compatibility with Puppet 3.x (or even older).
Change-Id: Icfa19e80c33a87df76a56f23bba4b93709cdb7a7
This change fixes how old OS versions and puppet versions are tested
and now we use only the combinations supported in the past, instead of
testing the all combinations which contain some invalid ones like
Puppet 5 + CentOS Stream 9.
Depends-on: https://review.opendev.org/876554
Change-Id: Ie22c586c6f0e8cfe82a46bd62d3953af1918e777
... because the latest lint no longer allows usage of legacy facts and
top scope fact.
This also disables puppet 5 unit test job because the job is broken
with structured facts.
Change-Id: Id11ccaf89a44d093de29ba3c15165153eea4be56
This module still supports Puppet 5. This change adds back unit test
coverage with Puppet 5.
Depends-on: https://review.opendev.org/854061
Change-Id: I757d5c2f1c2af1c548d8ce6fba324c6f42826910
The puppet-ceph modules follows the independent release modeal and
its supported operating systems are not same as the ones for the other
OpenStack modules following OpenStack's release cycle.
This change removes override of operating systems being tested in unit
tests so that we test all operating systems supported by this module.
Change-Id: Icb910ed73999eded6c73905c4ae2f39404a8bfdd
The beast frontend library has been supported since Mimic and will
replace the civetweb library which was deprecated in Pacific.
This also fixes the rgw_frontneds parameter so that the reasonable
default value is selected according to the frontend type selected.
Change-Id: I2faac0151165aa296ac2df3a0b9a1255654947ef
... because this module no longer supports Ubuntu 14.04 or CentOS 6.
This also removes the unit tests with Ubuntu 14.04.
Change-Id: Ib2bf73ba379b61f96c5faf3712c15aa39c0a301e