Revert "Fix condition for disabling old Murano services"

This reverts commit d5be672343.

Change-Id: I312fed09fea0abf462015427a82dd81bcc3171ee
This commit is contained in:
Kirill Zaitsev 2016-10-10 14:14:36 +00:00
parent d5be672343
commit e978e97972
1 changed files with 2 additions and 3 deletions

View File

@ -180,10 +180,9 @@
condition:
yaql_exp: >
$.get('detach-murano', {}).get('metadata', {}).get('enabled', false) and
$.network_metadata.nodes.values().any(
$.murano.enabled and $.network_metadata.nodes.values().any(
('murano-node' in $.node_roles) or
('primary-murano-node' in $.node_roles)) and ($.murano.enabled or
changedAny($.murano.enabled))
('primary-murano-node' in $.node_roles))
required_for: [murano-controller-end]
parameters:
puppet_manifest: manifests/murano_disable_old.pp