Create conf directory during devstack install phase

Otherwise other plugins which depend on aodh and want to set
configuration items may have issues with the configuration directory not
being there.

Change-Id: I2e60ed0af6e1b18bbb65e17007e3b2e14ff44b04
This commit is contained in:
Chris Dent 2015-08-26 10:19:54 +00:00
parent 37d7d79d69
commit ac522a9df4

View File

@ -166,8 +166,6 @@ function _aodh_configure_storage_backend {
# Configure Aodh
function configure_aodh {
sudo install -d -o $STACK_USER -m 755 $AODH_CONF_DIR $AODH_API_LOG_DIR
iniset_rpc_backend aodh $AODH_CONF
iniset $AODH_CONF DEFAULT notification_topics "$AODH_NOTIFICATION_TOPICS"
@ -239,6 +237,7 @@ function install_aodh {
_aodh_prepare_storage_backend
install_aodhclient
setup_develop $AODH_DIR
sudo install -d -o $STACK_USER -m 755 $AODH_CONF_DIR $AODH_API_LOG_DIR
}
# install_aodhclient() - Collect source and prepare