Allow customizing separator for api-paste.ini
The api-paste.ini accepts not only "=" but also ":" and some services like Barbican have been using ":" for their default api-paste.ini files. [composite:main] use = egg:Paste#urlmap /: barbican_version /v1: barbican-api-keystone This change allows users to use ":" so that they can update the ini files with keeping it consistent with the default fules Depends-on: https://review.opendev.org/813614 Change-Id: Ie486a11c7ca19ec37c64e6b291420f216fe62a89
This commit is contained in:
parent
4440bd74be
commit
bf9bb02fcf
@ -45,6 +45,11 @@ Puppet::Type.newtype(:magnum_api_paste_ini) do
|
|||||||
defaultto('<SERVICE DEFAULT>')
|
defaultto('<SERVICE DEFAULT>')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
newparam(:key_val_separator) do
|
||||||
|
desc 'The separator string to use between each setting name and value.'
|
||||||
|
defaultto('=')
|
||||||
|
end
|
||||||
|
|
||||||
autorequire(:anchor) do
|
autorequire(:anchor) do
|
||||||
['magnum::install::end']
|
['magnum::install::end']
|
||||||
end
|
end
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
The new ``key_val_separator`` parameter has been added to
|
||||||
|
the ``magnum_api_paste_ini`` resource type.
|
Loading…
x
Reference in New Issue
Block a user