
Otherwise swift::client can't fetch the name of the package by itself if swift::params doesn't happen to be in the catalog. Change-Id: I3d15d0ce68ca084eb4573764b05e8723befbd7e7
23 lines
339 B
Puppet
23 lines
339 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::params
|
|
|
|
package { 'swiftclient':
|
|
ensure => $ensure,
|
|
name => $::swift::params::client_package,
|
|
}
|
|
|
|
}
|