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:
@@ -115,7 +115,7 @@ class cloud::dashboard(
|
|||||||
'add_listen' => true,
|
'add_listen' => true,
|
||||||
'setenvif' => $setenvif
|
'setenvif' => $setenvif
|
||||||
}
|
}
|
||||||
$vhost_extra_params_real = merge ($vhost_extra_params, $extra_params)
|
$vhost_extra_params_real = merge ($extra_params, $vhost_extra_params)
|
||||||
|
|
||||||
$neutron_options = {
|
$neutron_options = {
|
||||||
'enable_lb' => true
|
'enable_lb' => true
|
||||||
|
Reference in New Issue
Block a user