697be3badb
Keystone no longer uses it's paste ini file or uses the paste deploy parts so we deprecate all that now. [1] Unfortunately this should probably have been done in Rocky but got missed, in Stein keystone will effectively remove the paste ini file. [1] [1] https://docs.openstack.org/releasenotes/keystone/rocky.html Change-Id: Ifefea626f754d247b376745fbb2791e725ebafbc Closes-Bug: 1794045
43 lines
1.1 KiB
Puppet
43 lines
1.1 KiB
Puppet
# == Class: keystone::config
|
|
#
|
|
# This class is used to manage arbitrary keystone configurations.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*keystone_config*]
|
|
# (optional) Allow configuration of arbitrary keystone configurations.
|
|
# The value is an hash of keystone_config resources. Example:
|
|
# { 'DEFAULT/foo' => { value => 'fooValue'},
|
|
# 'DEFAULT/bar' => { value => 'barValue'}
|
|
# }
|
|
# In yaml format, Example:
|
|
# keystone_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.
|
|
#
|
|
#### DEPRECATED PARAMS
|
|
#
|
|
# [*keystone_paste_ini*]
|
|
# (optional) Allow configuration of /etc/keystone/keystone-paste.ini options.
|
|
#
|
|
class keystone::config (
|
|
$keystone_config = {},
|
|
# DEPRECATED PARAMS
|
|
$keystone_paste_ini = undef,
|
|
) {
|
|
|
|
include ::keystone::deps
|
|
|
|
validate_hash($keystone_config)
|
|
create_resources('keystone_config', $keystone_config)
|
|
|
|
if $keystone_paste_ini {
|
|
warning('keystone_paste_ini is deprecated, has no effect and will be removed in a later release')
|
|
}
|
|
}
|