1 # == Class: cinder::config
3 # This class is used to manage arbitrary cinder configurations.
8 # (optional) Allow configuration of arbitrary cinder configurations.
9 # The value is an hash of xxx_config resources. Example:
10 # { 'DEFAULT/foo' => { value => 'fooValue'},
11 # 'DEFAULT/bar' => { value => 'barValue'}
14 # In yaml format, Example:
22 # (optional) Allow configuration of cinder.conf configurations.
24 # [**api_paste_ini_config**]
25 # (optional) Allow configuration of /etc/cinder/api-paste.ini configurations.
27 # NOTE: The configuration MUST NOT be already handled by this module
28 # or Puppet catalog compilation will fail with duplicate resources.
30 class cinder::config (
32 $api_paste_ini_config = {},
34 validate_hash($cinder_config)
35 validate_hash($api_paste_ini_config)
37 create_resources('cinder_config', $cinder_config)
38 create_resources('cinder_api_paste_ini', $api_paste_ini_config)