
The minimum version of puppetlabs-stdlib has been bumped globally, so now we can use the common type definition. Change-Id: Icdc8d5235a576b714a99977197941457f1787917 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
23 lines
409 B
Puppet
23 lines
409 B
Puppet
# == Class: swift::client
|
|
#
|
|
# Installs swift client.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*ensure*]
|
|
# (optional) Ensure state of the package.
|
|
# Defaults to 'present'.
|
|
#
|
|
class swift::client (
|
|
Stdlib::Ensure::Package $ensure = 'present',
|
|
) {
|
|
include swift::deps
|
|
include swift::params
|
|
|
|
package { 'swiftclient':
|
|
ensure => $ensure,
|
|
name => $swift::params::client_package,
|
|
tag => 'openstack',
|
|
}
|
|
}
|