tripleo-common/healthcheck/horizon
Derek Higgins 5bceeee2e3 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
2018-04-20 15:19:48 +01:00

11 lines
309 B
Bash
Executable File

#!/bin/sh
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
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/10-horizon_ssl_vhost.conf)
fi