dashboard: Fix merge parameters
When there is a duplicate key, the key in the rightmost hash will "win." Currently extra_params default values can never be overriden by vhost_extra_params if we have duplicate key. This patch allows it. https://forge.puppetlabs.com/puppetlabs/stdlib#merge Signed-off-by: Dimitri Savineau <dimitri.savineau@enovance.com>
This commit is contained in:
parent
794025c6ab
commit
66b1aeb4bc
@ -115,7 +115,7 @@ class cloud::dashboard(
|
||||
'add_listen' => true,
|
||||
'setenvif' => $setenvif
|
||||
}
|
||||
$vhost_extra_params_real = merge ($vhost_extra_params, $extra_params)
|
||||
$vhost_extra_params_real = merge ($extra_params, $vhost_extra_params)
|
||||
|
||||
$neutron_options = {
|
||||
'enable_lb' => true
|
||||
|
Loading…
x
Reference in New Issue
Block a user