Deprecate client class

The neutron CLI has been deprecated[1] and will be removed in a future
release. This deprecates the class to install the neutronclient package
because this class aims to help installing the package for CLI usage.
It should be installed by package dependencies in case it is used as
a library.

[1] 3a64a7a166be25d40436fd40c8351a79267bd3c4

Change-Id: I6ae441ea74c9e51e61a944583092bc0e0bc687f4
This commit is contained in:
Takashi Kajinami 2023-09-04 15:15:28 +09:00
parent 648bdb504a
commit 7d36b5f86b
2 changed files with 10 additions and 0 deletions

View File

@ -15,6 +15,9 @@ class neutron::client (
include neutron::deps
include neutron::params
warning("The neutron::client class has been deprecated and will be removed \
in a future release.")
package { 'python-neutronclient':
ensure => $package_ensure,
name => $::neutron::params::client_package,

View File

@ -0,0 +1,7 @@
---
deprecations:
- |
The ``neutron::client`` class has been deprecated. The ``neutron`` CLI has
been deprecated and will be removed in the future. Use
the ``openstacklib::openstackclient`` class and the ``openstack`` CLI
instead.