7d36b5f86b
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
30 lines
619 B
Puppet
30 lines
619 B
Puppet
# == Class: neutron::client
|
|
#
|
|
# Manages the neutron client package on systems
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*package_ensure*]
|
|
# (optional) The state of the package
|
|
# Defaults to present
|
|
#
|
|
class neutron::client (
|
|
$package_ensure = present
|
|
) {
|
|
|
|
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,
|
|
tag => ['neutron-support-package', 'openstack'],
|
|
}
|
|
|
|
include openstacklib::openstackclient
|
|
|
|
}
|