Deprecate client class

The nova CLI has been deprecated[1] and will be removed in a future
release. This deprecates the class to install the novaclient 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] 0fb7190c062a08a3969a71955c014e3a572cdc9e

Change-Id: Iffe2cc8daf28d088c098443986925c18a8412318
This commit is contained in:
Takashi Kajinami 2023-09-04 15:19:10 +09:00
parent d103c36681
commit a5b68f7319
2 changed files with 10 additions and 0 deletions

View File

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

View File

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