
This commit removes all code that was related to deprecations, including tests put in during the liberty release cycle and increases the verbosity of warnings provided for code deprecated during this cycle (Mitaka). Change-Id: I991654c6c0706eea31a6702703596e73080bec4e
27 lines
644 B
Puppet
27 lines
644 B
Puppet
# == Class: cinder::backends
|
|
#
|
|
# Class to set the enabled_backends list
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*enabled_backends*]
|
|
# (Required) a list of ini sections to enable.
|
|
# This should contain names used in ceph::backend::* resources.
|
|
# Example: ['volume1', 'volume2', 'sata3']
|
|
#
|
|
# === Deprecated Parameters
|
|
#
|
|
# [*default_volume_type*]
|
|
# (Deprecated) Does nothing.
|
|
#
|
|
# Author: Andrew Woodward <awoodward@mirantis.com>
|
|
class cinder::backends (
|
|
$enabled_backends = undef,
|
|
) {
|
|
|
|
# Maybe this could be extented to dynamicly find the enabled names
|
|
cinder_config {
|
|
'DEFAULT/enabled_backends': value => join($enabled_backends, ',');
|
|
}
|
|
}
|