Merge "Update the horizon vhost filename"

This commit is contained in:
Zuul 2018-05-02 00:25:44 +00:00 committed by Gerrit Code Review
commit c1f8e4fa84

4
healthcheck/horizon Normal file → Executable file
View File

@ -2,9 +2,9 @@
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
check_url=$(get_url_from_vhost /etc/httpd/conf.d/15-horizon_vhost.conf)
check_url=$(get_url_from_vhost /etc/httpd/conf.d/10-horizon_vhost.conf)
if healthcheck_curl ${check_url}; then
exit 0
else
healthcheck_curl $(get_url_from_vhost /etc/httpd/conf.d/15-horizon_ssl_vhost.conf)
healthcheck_curl $(get_url_from_vhost /etc/httpd/conf.d/10-horizon_ssl_vhost.conf)
fi