Update the horizon vhost filename

The puppet-horizon defaults to 15 so it was probably
15 at one stage but we are now setting it to 10 in t-h-t.

Also add executable permissions to the healthcheck file.

Change-Id: I7c13cac950de568237eed1fd4b2a97d85b2aed0d
This commit is contained in:
Derek Higgins 2018-04-20 15:18:22 +01:00
parent 4de70a5314
commit 5bceeee2e3

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