From 524149970dc8af8cf5d6427c72dcb688eacaed62 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 21 Jul 2014 16:35:11 -0400 Subject: ceilometer: package and deploy api_paste.ini Ceilometer now requires api_paste.ini for the API to start and be functionaly. So we add it to our core package, and update the .conf file with the name. Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-ceilometer/ceilometer.conf | 2 ++ meta-openstack/recipes-devtools/python/python-ceilometer_git.bb | 2 ++ 2 files changed, 4 insertions(+) (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.conf b/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.conf index 6340a15..db78580 100644 --- a/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.conf +++ b/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.conf @@ -4,6 +4,8 @@ # Options defined in ceilometer.middleware # +api_paste_config=/etc/ceilometer/api_paste.ini + # Exchanges name to listen for notifications (multi valued) #http_control_exchanges=nova #http_control_exchanges=glance diff --git a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb index 4c94300..1e6e200 100644 --- a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb +++ b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb @@ -35,6 +35,8 @@ do_install_append() { install -m 600 ${TEMPLATE_CONF_DIR}/*.json ${CEILOMETER_CONF_DIR} install -m 600 ${TEMPLATE_CONF_DIR}/*.yaml ${CEILOMETER_CONF_DIR} + install -m 600 ${TEMPLATE_CONF_DIR}/api_paste.ini ${CEILOMETER_CONF_DIR} + sed -e "s:%CEILOMETER_SECRET%:${CEILOMETER_SECRET}:g" -i ${CEILOMETER_CONF_DIR}/ceilometer.conf sed -e "s:%DB_USER%:${DB_USER}:g" -i ${CEILOMETER_CONF_DIR}/ceilometer.conf -- cgit v1.2.3-54-g00ecf