1 # == Class: nova::config
3 # This class is used to manage arbitrary Nova configurations.
8 # (optional) Allow configuration of arbitrary Nova configurations.
9 # The value is an hash of nova_config resources. Example:
10 # { 'DEFAULT/foo' => { value => 'fooValue'},
11 # 'DEFAULT/bar' => { value => 'barValue'}
13 # In yaml format, Example:
20 # NOTE: The configuration MUST NOT be already handled by this module
21 # or Puppet catalog compilation will fail with duplicate resources.
25 $nova_paste_api_ini = {},
28 validate_hash($nova_config)
29 validate_hash($nova_paste_api_ini)
31 create_resources('nova_config', $nova_config)
32 create_resources('nova_paste_api_ini', $nova_paste_api_ini)