
This fixes a few lint warnings/errors detected by the following plugins we aim to enable soon. - puppet-lint-file_ensure-check - puppet-lint-trailing_comma-check - puppet-lint-topscope-variable-check Change-Id: If7fb7d7b8de9698c912003e0c857341e5a201580 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
27 lines
491 B
Puppet
27 lines
491 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',
|
|
}
|
|
|
|
}
|