Merge "[Horizon] Fix 'mcp' version check pattern"
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 19 Feb 2018 12:23:11 +0000 (12:23 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Mon, 19 Feb 2018 12:23:11 +0000 (12:23 +0000)
mcp/config/states/openstack_ha

index 302de87..4f3760f 100755 (executable)
@@ -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