diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-12-24 13:29:34 +0100 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-12-24 13:29:34 +0100 |
commit | f5e6ef718d048be9e8f00a4b37e68e1a9ecfb5bb (patch) | |
tree | 524082d0a8e68eb781fecf34b969103794dbed2d | |
parent | af47291cd0809291aaafac0adacc48ac0f5a55f1 (diff) |
[ha] Fix pillar data targeting msg nodes
Change-Id: If4f4eb08c54ba8265ac178f215384d8a749d1b8b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-rwxr-xr-x | mcp/config/states/openstack_ha | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/config/states/openstack_ha b/mcp/config/states/openstack_ha index 72f401955..a45d397d3 100755 --- a/mcp/config/states/openstack_ha +++ b/mcp/config/states/openstack_ha @@ -16,7 +16,7 @@ wait_for 5.0 "salt -I 'keepalived:cluster' state.sls keepalived -b 1" wait_for 5.0 "salt -I 'keepalived:cluster' pillar.get keepalived:cluster:instance:VIP:address" salt -I 'rabbitmq:server' cmd.run 'mkdir -p /etc/rabbitmq && echo HOSTNAME=localhost > /etc/rabbitmq/rabbitmq-env.conf' -wait_for 5.0 "salt -I 'rabbitmq:server:cluster:role:master' state.sls rabbitmq" +wait_for 5.0 "salt -I 'rabbitmq:cluster:role:master' state.sls rabbitmq" salt -I 'rabbitmq:server' state.sls rabbitmq salt -I 'rabbitmq:server' cmd.run "rabbitmqctl cluster_status" |