
api-paste has been moved under the python code and does not need to be configured in etc. Remove this configuration and provider and type files. Now on just setting the auth mode should handle everything automatically. Change-Id: I96c93dc124d5b87465d2dde6b27a896266f71eb4
33 lines
828 B
Puppet
33 lines
828 B
Puppet
# == Class: gnocchi::config
|
|
#
|
|
# This class is used to manage arbitrary gnocchi configurations.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*gnocchi_config*]
|
|
# (optional) Allow configuration of arbitrary gnocchi configurations.
|
|
# The value is an hash of gnocchi_config resources. Example:
|
|
# { 'DEFAULT/foo' => { value => 'fooValue'},
|
|
# 'DEFAULT/bar' => { value => 'barValue'}
|
|
# }
|
|
# In yaml format, Example:
|
|
# gnocchi_config:
|
|
# DEFAULT/foo:
|
|
# value: fooValue
|
|
# DEFAULT/bar:
|
|
# value: barValue
|
|
#
|
|
# NOTE: The configuration MUST NOT be already handled by this module
|
|
# or Puppet catalog compilation will fail with duplicate resources.
|
|
#
|
|
class gnocchi::config (
|
|
$gnocchi_config = {},
|
|
) {
|
|
|
|
include ::gnocchi::deps
|
|
|
|
validate_hash($gnocchi_config)
|
|
|
|
create_resources('gnocchi_config', $gnocchi_config)
|
|
}
|