1 # == Class: cinder::backends
3 # Class to set the enabled_backends list
8 # (required) a list of ini sections to enable.
9 # This should contain names used in ceph::backend::* resources.
10 # Example: ['volume1', 'volume2', 'sata3']
12 # Author: Andrew Woodward <awoodward@mirantis.com>
13 class cinder::backends (
14 $enabled_backends = undef,
16 $default_volume_type = false
19 # Maybe this could be extented to dynamicly find the enabled names
21 'DEFAULT/enabled_backends': value => join($enabled_backends, ',');
24 if $default_volume_type {
25 fail('The default_volume_type parameter is deprecated in this class, you should declare it in cinder::api.')