diff options
Diffstat (limited to 'mcp/config/states/openstack_ha')
-rwxr-xr-x | mcp/config/states/openstack_ha | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mcp/config/states/openstack_ha b/mcp/config/states/openstack_ha index f08090425..99374c583 100755 --- a/mcp/config/states/openstack_ha +++ b/mcp/config/states/openstack_ha @@ -50,6 +50,9 @@ wait_for 3.0 "salt -I 'cinder:volume' state.sls cinder" salt -I 'neutron:server' state.sls neutron -b 1 salt -I 'neutron:gateway' state.sls neutron.gateway +if salt 'cmp*' match.pillar 'neutron:compute' --out yaml --static | grep -q -e "true" ; then + salt -I 'neutron:compute' state.sls neutron.compute +fi salt -I 'nova:compute' state.sls nova |