Fix condition for disabling old Murano services
In cases, during installation Murano plugin, when Murano from box is installed and was disabled on UI we also need to disable old Murano services. Related-Bug: #1631379 Change-Id: I4edb340cd6c84f53629e25656171a61f1df51a8e
This commit is contained in:
parent
3baa7a973b
commit
d5be672343
|
@ -180,9 +180,10 @@
|
|||
condition:
|
||||
yaql_exp: >
|
||||
$.get('detach-murano', {}).get('metadata', {}).get('enabled', false) and
|
||||
$.murano.enabled and $.network_metadata.nodes.values().any(
|
||||
$.network_metadata.nodes.values().any(
|
||||
('murano-node' in $.node_roles) or
|
||||
('primary-murano-node' in $.node_roles))
|
||||
('primary-murano-node' in $.node_roles)) and ($.murano.enabled or
|
||||
changedAny($.murano.enabled))
|
||||
required_for: [murano-controller-end]
|
||||
parameters:
|
||||
puppet_manifest: manifests/murano_disable_old.pp
|
||||
|
|
Loading…
Reference in New Issue