summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-glance_git.bb
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2014-01-19 00:13:20 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-01-19 00:13:20 -0500
commit1bc3a505ffa13c64b6f9c1a27841d41d3ce1896a (patch)
treea350ed03877abd14dbd7334f0306038fd77bbd02 /meta-openstack/recipes-devtools/python/python-glance_git.bb
parent76417f9cc6be3a1d9173a6305ad351a1742b345b (diff)
downloadmeta-cloud-services-1bc3a505ffa13c64b6f9c1a27841d41d3ce1896a.tar.gz
glance: add ceilometer configuration
We change the notification channel to rabbit in order to send statistics for ceilometer use. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-glance_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-glance_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-glance_git.bb b/meta-openstack/recipes-devtools/python/python-glance_git.bb
index 8e26d22..e6406b8 100644
--- a/meta-openstack/recipes-devtools/python/python-glance_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-glance_git.bb
@@ -35,6 +35,10 @@ do_install_append() {
35 sed -e "s:^filesystem_store_datadir =.*:filesystem_store_datadir = ${sysconfdir}/${SRCNAME}/images/:g" \ 35 sed -e "s:^filesystem_store_datadir =.*:filesystem_store_datadir = ${sysconfdir}/${SRCNAME}/images/:g" \
36 -i ${WORKDIR}/glance-api.conf 36 -i ${WORKDIR}/glance-api.conf
37 37
38 # send samples to rabbitmq for ceilometer integration
39 sed -e "s:^notifier_strategy = noop:notifier_strategy = rabbit:g" \
40 -i ${WORKDIR}/glance-api.conf
41
38 install -d ${GLANCE_CONF_DIR} 42 install -d ${GLANCE_CONF_DIR}
39 install -m 600 ${WORKDIR}/glance-registry.conf ${GLANCE_CONF_DIR}/ 43 install -m 600 ${WORKDIR}/glance-registry.conf ${GLANCE_CONF_DIR}/
40 install -m 600 ${WORKDIR}/glance-api.conf ${GLANCE_CONF_DIR}/ 44 install -m 600 ${WORKDIR}/glance-api.conf ${GLANCE_CONF_DIR}/