Files
puppet-swift/manifests/client.pp
Sebastien Badia 21f9eff35c Add client_package_ensure parameter and swift::client class
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
2014-03-06 02:09:52 +01:00

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,
}
}