puppet-keystone/manifests/client.pp
Takashi Kajinami f271472b48 Deprecate client class
The python-keystoneclient package removed CLI long ago so installing
the package is now useless. It provides only library implementations
and should be installed by package dependencies.

Change-Id: I46b09092847eeb821f97172e1a912ad8a1b8a2e3
2023-05-30 01:02:18 +00:00

33 lines
750 B
Puppet

# == Class: keystone::client
#
# Installs Keystone client.
#
# === Parameters
#
# [*client_package_name*]
# (optional) The name of python keystone client package
# Defaults to $keystone::params::client_package_name
#
# [*ensure*]
# (optional) Ensure state of the package.
# Defaults to 'present'.
#
class keystone::client (
$client_package_name = $keystone::params::client_package_name,
$ensure = 'present'
) inherits keystone::params {
include keystone::deps
warning("The keystone::client class has been deprecated and will be removed \
in a future release.")
package { 'python-keystoneclient':
ensure => $ensure,
name => $client_package_name,
tag => 'openstack',
}
include openstacklib::openstackclient
}