]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/keystone/manifests/config.pp
Make varnish log rotation less noisy
[dsa-puppet.git] / 3rdparty / modules / keystone / manifests / config.pp
1 # == Class: keystone::config
2 #
3 # This class is used to manage arbitrary keystone configurations.
4 #
5 # === Parameters
6 #
7 # [*keystone_config*]
8 #   (optional) Allow configuration of arbitrary keystone configurations.
9 #   The value is an hash of keystone_config resources. Example:
10 #   { 'DEFAULT/foo' => { value => 'fooValue'},
11 #     'DEFAULT/bar' => { value => 'barValue'}
12 #   }
13 #   In yaml format, Example:
14 #   keystone_config:
15 #     DEFAULT/foo:
16 #       value: fooValue
17 #     DEFAULT/bar:
18 #       value: barValue
19 #
20 #   NOTE: The configuration MUST NOT be already handled by this module
21 #   or Puppet catalog compilation will fail with duplicate resources.
22 #
23 class keystone::config (
24   $keystone_config  = {},
25 ) {
26
27   validate_hash($keystone_config)
28
29   create_resources('keystone_config', $keystone_config)
30 }