Ensure external_ids:ovn-bridge-mappings is purged
... when ovn_bridge_mappings is empty, otherwise any old configuration is not removed during update. Change-Id: Ib98072753cda70be530c900bd9296a8a576a2a66
This commit is contained in:
parent
cee3df560e
commit
faef816496
|
@ -177,7 +177,9 @@ class ovn::controller(
|
||||||
require => Service['openvswitch']
|
require => Service['openvswitch']
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$bridge_items = {}
|
$bridge_items = {
|
||||||
|
'external_ids:ovn-bridge-mappings' => { 'ensure' => 'absent' }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if !empty($ovn_transport_zones) {
|
if !empty($ovn_transport_zones) {
|
||||||
|
|
Loading…
Reference in New Issue