summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-cinder_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinder_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-cinder_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder_git.bb b/meta-openstack/recipes-devtools/python/python-cinder_git.bb
index 28b0f74..237377d 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-cinder_git.bb
@@ -25,6 +25,8 @@ S = "${WORKDIR}/git"
25 25
26inherit setuptools update-rc.d identity default_configs 26inherit setuptools update-rc.d identity default_configs
27 27
28CINDER_BACKUP_BACKEND_DRIVER ?= "cinder.backup.drivers.swift"
29
28do_install_append() { 30do_install_append() {
29 TEMPLATE_CONF_DIR=${S}${sysconfdir}/${SRCNAME} 31 TEMPLATE_CONF_DIR=${S}${sysconfdir}/${SRCNAME}
30 CINDER_CONF_DIR=${D}${sysconfdir}/${SRCNAME} 32 CINDER_CONF_DIR=${D}${sysconfdir}/${SRCNAME}
@@ -37,6 +39,7 @@ do_install_append() {
37 39
38 sed -e "s:%DB_USER%:${DB_USER}:g" -i ${WORKDIR}/cinder.conf 40 sed -e "s:%DB_USER%:${DB_USER}:g" -i ${WORKDIR}/cinder.conf
39 sed -e "s:%DB_PASSWORD%:${DB_PASSWORD}:g" -i ${WORKDIR}/cinder.conf 41 sed -e "s:%DB_PASSWORD%:${DB_PASSWORD}:g" -i ${WORKDIR}/cinder.conf
42 sed -e "s:%CINDER_BACKUP_BACKEND_DRIVER%:${CINDER_BACKUP_BACKEND_DRIVER}:g" -i ${WORKDIR}/cinder.conf
40 43
41 install -d ${CINDER_CONF_DIR} 44 install -d ${CINDER_CONF_DIR}
42 install -m 600 ${WORKDIR}/cinder.conf ${CINDER_CONF_DIR}/ 45 install -m 600 ${WORKDIR}/cinder.conf ${CINDER_CONF_DIR}/