The horizon cleanup function wasn't being called at all during
cleanup which left the Apache configuration.
Change-Id: Iff5336d0c5e79cfc82f1c648afaabb869d86020e
| ... | ... |
@@ -69,9 +69,8 @@ function _horizon_config_set {
|
| 69 | 69 |
# cleanup_horizon() - Remove residual data files, anything left over from previous |
| 70 | 70 |
# runs that a clean run would need to clean up |
| 71 | 71 |
function cleanup_horizon {
|
| 72 |
- local horizon_conf |
|
| 73 |
- horizon_conf=$(apache_site_config_for horizon) |
|
| 74 |
- sudo rm -f $horizon_conf |
|
| 72 |
+ disable_apache_site horizon |
|
| 73 |
+ sudo rm -f $(apache_site_config_for horizon) |
|
| 75 | 74 |
} |
| 76 | 75 |
|
| 77 | 76 |
# configure_horizon() - Set config files, create data dirs, etc |