aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/config/states/openstack_ha
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-02-19 12:23:11 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-19 12:23:11 +0000
commitfec125fbd714de2b9c2f55de610e2e70ed5b5706 (patch)
tree86e1afd0b6eeba90b406c12a2ad9c1810e33aab7 /mcp/config/states/openstack_ha
parentd47339ccf86f2f3a5ddcca57339ad4e43228d556 (diff)
parenteb64afe779a7db456d51b9486515ee97e762e9c6 (diff)
Merge "[Horizon] Fix 'mcp' version check pattern"
Diffstat (limited to 'mcp/config/states/openstack_ha')
-rwxr-xr-xmcp/config/states/openstack_ha2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/config/states/openstack_ha b/mcp/config/states/openstack_ha
index 302de8715..4f3760f64 100755
--- a/mcp/config/states/openstack_ha
+++ b/mcp/config/states/openstack_ha
@@ -66,7 +66,7 @@ salt -I 'horizon:server' state.sls horizon
salt -I 'nginx:server' state.sls nginx
# workaround for Ubuntu Pike Horizon missing css, FUEL-324
-if ! salt -C 'I@horizon:server and *01*' --out=yaml pkg.version openstack-dashboard | grep -qE 'mcp'; then
+if ! salt -C 'I@horizon:server and *01*' --out=yaml pkg.version openstack-dashboard | grep -qE ':.*mcp'; then
salt -I 'horizon:server' file.symlink \
/var/lib/openstack-dashboard/static \
/usr/share/openstack-dashboard/static