summaryrefslogtreecommitdiffstats
path: root/mcp
diff options
context:
space:
mode:
authorGuillermo Herrero <guillermo.herrero@enea.com>2018-12-07 09:09:38 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-12-07 13:04:00 +0000
commit204bcc8d40ddc24c89365bc02c6c58ebfba58a08 (patch)
treef00b4afa71dbb319a9d0d5ac67f2fac726a6776e /mcp
parent4bbd4d019f40548c43f38c0e6990d3089ba6b368 (diff)
[ha] fix barbican server install error
Ensure installation happens first on node 1 first, run as batch on the rest after. Change-Id: I1ac3f516c35c4941b343e88d47c78b19d13d7b90 Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com> (cherry picked from commit 73b02742d463fc2932ef66baee7123fc773c1b0c)
Diffstat (limited to 'mcp')
-rwxr-xr-xmcp/config/states/openstack_ha3
1 files changed, 2 insertions, 1 deletions
diff --git a/mcp/config/states/openstack_ha b/mcp/config/states/openstack_ha
index 499c1d357..732c5710f 100755
--- a/mcp/config/states/openstack_ha
+++ b/mcp/config/states/openstack_ha
@@ -61,7 +61,8 @@ if salt -I 'nova:compute' match.grain 'cpuarch:aarch64' \
salt -C 'G@cpuarch:aarch64 and I@nova:compute' state.sls armband
fi
-salt -I 'barbican:server' state.sls barbican -b 1
+salt -C 'I@barbican:server and *01*' state.sls barbican
+salt -C 'I@barbican:server and not *01*' state.sls barbican -b 1
salt -I 'barbican:client' state.sls barbican
salt -I 'redis:cluster:role:master' state.sls redis