
The manila CLI was already deprecated in favor of the openstack CLI plugin[1]. Install openstackclient when client is requested so that the openstack CLI can be used. [1] ba9a3887869ecd4cbed4aeb43c11a3d9493fafa2 Change-Id: I4589f6d74b3f4b6b88333306eb013b91fc0a9d44
25 lines
476 B
Puppet
25 lines
476 B
Puppet
# == Class: manila::client
|
|
#
|
|
# Installs Manila python client.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*package_ensure*]
|
|
# Ensure state for package. Defaults to 'present'.
|
|
#
|
|
class manila::client (
|
|
$package_ensure = 'present'
|
|
) {
|
|
|
|
include manila::deps
|
|
include manila::params
|
|
|
|
package { 'python-manilaclient':
|
|
ensure => $package_ensure,
|
|
name => $::manila::params::client_package,
|
|
tag => ['openstack', 'openstackclient'],
|
|
}
|
|
|
|
include openstacklib::openstackclient
|
|
}
|