Files
puppet-nova/manifests/client.pp
Takashi Kajinami a5b68f7319 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
2023-09-04 15:19:10 +09:00

27 lines
519 B
Puppet

# == Class nova::client
#
# installs nova client
#
# === Parameters:
#
# [*ensure*]
# (optional) The state for the nova client package
# Defaults to 'present'
#
class nova::client(
$ensure = 'present'
) {
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,
tag => ['openstack', 'nova-support-package'],
}
}