
- This puppet-lint plugin checks if all parameters are documented - Fix all the undocumented parameters. Change-Id: Id9a9d11a972f6db46ed047b0a1f223995193476a Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
23 lines
574 B
Puppet
23 lines
574 B
Puppet
# == Class: manila::backends
|
|
#
|
|
# Class to set the enabled_backends list
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*enabled_share_backends*]
|
|
# (Required) a list of ini sections to enable.
|
|
# This should contain names used in ceph::backend::* resources.
|
|
# Example: ['share1', 'share2', 'sata3']
|
|
#
|
|
# Author: Andrew Woodward <awoodward@mirantis.com>
|
|
class manila::backends (
|
|
$enabled_share_backends = undef
|
|
) {
|
|
|
|
# Maybe this could be extented to dynamicly find the enabled names
|
|
manila_config {
|
|
'DEFAULT/enabled_share_backends': value => join($enabled_share_backends, ',');
|
|
}
|
|
|
|
}
|