
* Fix following warnings: * case statement without a default case * double quoted string containing no variables * indentation of => is not properly aligned * mode should be represented as a 4 digit octal value or symbolic mode * quoted boolean value found * unquoted file mode * variable not enclosed in {} * Fix following errors: * trailing whitespace found * two-space soft tabs not used * Remove quotes around class in include/require statements Change-Id: Ia407416e51c09fb303675863afa68f526a37abcf
58 lines
889 B
Puppet
58 lines
889 B
Puppet
#
|
|
# Installs only the OpenStack client libraries
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [ceilometer]
|
|
# (optional) Install the Ceilometer client package
|
|
#
|
|
# [cinder]
|
|
# (optional) Install the Cinder client package
|
|
#
|
|
# [glance]
|
|
# (optional) Install the Glance client package
|
|
#
|
|
# [keystone]
|
|
# (optional) Install the Keystone client package
|
|
#
|
|
# [nova]
|
|
# (optional) Install the Nova client package
|
|
#
|
|
# [quantum]
|
|
# (optional) Install the Quantum client package
|
|
#
|
|
|
|
class openstack::client (
|
|
$ceilometer = true,
|
|
$cinder = true,
|
|
$glance = true,
|
|
$keystone = true,
|
|
$nova = true,
|
|
$quantum = true
|
|
) {
|
|
|
|
if $ceilometer {
|
|
include ceilometer::client
|
|
}
|
|
|
|
if $cinder {
|
|
include cinder::client
|
|
}
|
|
|
|
if $glance {
|
|
include glance::client
|
|
}
|
|
|
|
if $keystone {
|
|
include keystone::client
|
|
}
|
|
|
|
if $nova {
|
|
include nova::client
|
|
}
|
|
|
|
if $quantum {
|
|
include quantum::client
|
|
}
|
|
}
|