Configure Cinder for syslog if enabled

Change-Id: I3d2770cd2c3e3b93c0f26de359e5b0cb166826c1
This commit is contained in:
Dean Troyer 2012-11-06 20:38:14 -06:00
parent 8ec719b4d4
commit 4d3049e7cd

View File

@ -125,6 +125,10 @@ function configure_cinder() {
iniset $CINDER_CONF DEFAULT osapi_volume_extension cinder.api.openstack.volume.contrib.standard_extensions
iniset $CINDER_CONF DEFAULT state_path $CINDER_STATE_PATH
if [ "$SYSLOG" != "False" ]; then
iniset $CINDER_CONF DEFAULT use_syslog True
fi
if is_service_enabled qpid ; then
iniset $CINDER_CONF DEFAULT rpc_backend cinder.openstack.common.rpc.impl_qpid
elif is_service_enabled zeromq; then