
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: Iec7e1c83a461c8b018938195312d02b578e67365 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
25 lines
387 B
Puppet
25 lines
387 B
Puppet
# == Class: swift::client
|
|
#
|
|
# Installs swift client.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*ensure*]
|
|
# (optional) Ensure state of the package.
|
|
# Defaults to 'present'.
|
|
#
|
|
class swift::client (
|
|
$ensure = 'present',
|
|
) {
|
|
|
|
include swift::deps
|
|
include swift::params
|
|
|
|
package { 'swiftclient':
|
|
ensure => $ensure,
|
|
name => $swift::params::client_package,
|
|
tag => 'openstack',
|
|
}
|
|
|
|
}
|