diff options
author | Jiri Stransky <jistr@redhat.com> | 2016-04-15 17:55:30 +0200 |
---|---|---|
committer | Jiri Stransky <jistr@redhat.com> | 2016-04-18 11:11:31 +0200 |
commit | dbd88344d843e5783a4714c6a670af004a425c95 (patch) | |
tree | ec70950851a7cba4089775fa59cc76b438a4cb4c /puppet | |
parent | 4afed8617e56b1d9648955b971d5c2e4cd3cd7f8 (diff) |
Fix ControllerExtraConfig parameter name
We've had a typo for a while that a parameter is named
"controllerExtraConfig" with lowercase c, which can be quite confusing
for users because the other similar parameters
(e.g. NovaComputeExtraConfig) consistently start with an upper case
letter.
We'll support both variants from now on, marking the typoed variant as
deprecated.
Change-Id: Ic67a4297e7fa08308889b95ba35389a01f70f5a4
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/controller.yaml | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/puppet/controller.yaml b/puppet/controller.yaml index 56eb8b96..a0ed5c91 100644 --- a/puppet/controller.yaml +++ b/puppet/controller.yaml @@ -1,4 +1,4 @@ -heat_template_version: 2015-10-15 +heat_template_version: 2016-04-08 description: > OpenStack controller node configured by Puppet. @@ -97,6 +97,11 @@ parameters: default: 0 description: Number of workers for Cinder service. type: number + controllerExtraConfig: + default: {} + description: | + Deprecated. Use ControllerExtraConfig via parameter_defaults instead. + type: json ControllerExtraConfig: default: {} description: | @@ -762,6 +767,12 @@ parameters: type: json default: {} +parameter_groups: +- label: deprecated + description: Do not use deprecated params, they will be removed. + parameters: + - controllerExtraConfig + resources: Controller: @@ -1284,7 +1295,10 @@ resources: service_configs: mapped_data: {get_param: ServiceConfigSettings} controller_extraconfig: - mapped_data: {get_param: ControllerExtraConfig} + mapped_data: + map_merge: + - {get_param: controllerExtraConfig} + - {get_param: ControllerExtraConfig} extraconfig: mapped_data: {get_param: ExtraConfig} common: |