Clean up Horizon Apache configuration files in clean.sh
The horizon cleanup function wasn't being called at all during cleanup which left the Apache configuration. Change-Id: Iff5336d0c5e79cfc82f1c648afaabb869d86020e
This commit is contained in:
parent
e56318f9bc
commit
5631ca5e12
1
clean.sh
1
clean.sh
@ -95,6 +95,7 @@ cleanup_keystone
|
|||||||
cleanup_nova
|
cleanup_nova
|
||||||
cleanup_neutron
|
cleanup_neutron
|
||||||
cleanup_swift
|
cleanup_swift
|
||||||
|
cleanup_horizon
|
||||||
|
|
||||||
if is_service_enabled ldap; then
|
if is_service_enabled ldap; then
|
||||||
cleanup_ldap
|
cleanup_ldap
|
||||||
|
@ -69,9 +69,8 @@ function _horizon_config_set {
|
|||||||
# cleanup_horizon() - Remove residual data files, anything left over from previous
|
# cleanup_horizon() - Remove residual data files, anything left over from previous
|
||||||
# runs that a clean run would need to clean up
|
# runs that a clean run would need to clean up
|
||||||
function cleanup_horizon {
|
function cleanup_horizon {
|
||||||
local horizon_conf
|
disable_apache_site horizon
|
||||||
horizon_conf=$(apache_site_config_for horizon)
|
sudo rm -f $(apache_site_config_for horizon)
|
||||||
sudo rm -f $horizon_conf
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# configure_horizon() - Set config files, create data dirs, etc
|
# configure_horizon() - Set config files, create data dirs, etc
|
||||||
|
Loading…
Reference in New Issue
Block a user