
In the actual state of the manifest we can only setup package_ensure to
absent|present|latest. This commit allow end users to pin swift* and
swift-client to a specific version. (note that swift* and
python-swiftclient version are not the same).
A new class (swift::client) manage now client packages, and we keep the
retro-compatibility of commit 020b7723cb
.
Change-Id: I9bcc5a0f9d0a93a812fb574c4571fb9584077e4a
21 lines
314 B
Puppet
21 lines
314 B
Puppet
# == Class: swift::client
|
|
#
|
|
# Installs swift client.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*ensure*]
|
|
# (optional) Ensure state of the package.
|
|
# Defaults to 'present'.
|
|
#
|
|
class swift::client (
|
|
$ensure = 'present'
|
|
) {
|
|
|
|
package { 'swiftclient':
|
|
ensure => $ensure,
|
|
name => $::swift::params::client_package,
|
|
}
|
|
|
|
}
|