summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-openstack/recipes-devtools/python/python-ceilometer_git.bb26
1 files changed, 23 insertions, 3 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb
index 061b56e..e727200 100644
--- a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb
@@ -55,6 +55,12 @@ do_install_append() {
55 55
56 sed 's:@suffix@:agent-compute:' < ${WORKDIR}/ceilometer.init >${WORKDIR}/ceilometer-agent-compute.init.sh 56 sed 's:@suffix@:agent-compute:' < ${WORKDIR}/ceilometer.init >${WORKDIR}/ceilometer-agent-compute.init.sh
57 install -m 0755 ${WORKDIR}/ceilometer-agent-compute.init.sh ${D}${sysconfdir}/init.d/ceilometer-agent-compute 57 install -m 0755 ${WORKDIR}/ceilometer-agent-compute.init.sh ${D}${sysconfdir}/init.d/ceilometer-agent-compute
58
59 sed 's:@suffix@:alarm-notifier:' < ${WORKDIR}/ceilometer.init >${WORKDIR}/ceilometer-alarm-notifier.init.sh
60 install -m 0755 ${WORKDIR}/ceilometer-alarm-notifier.init.sh ${D}${sysconfdir}/init.d/ceilometer-alarm-notifier
61
62 sed 's:@suffix@:alarm-evaluator:' < ${WORKDIR}/ceilometer.init >${WORKDIR}/ceilometer-alarm-evaluator.init.sh
63 install -m 0755 ${WORKDIR}/ceilometer-alarm-evaluator.init.sh ${D}${sysconfdir}/init.d/ceilometer-alarm-evaluator
58 fi 64 fi
59 65
60 cp run-tests.sh ${CEILOMETER_CONF_DIR} 66 cp run-tests.sh ${CEILOMETER_CONF_DIR}
@@ -80,7 +86,9 @@ pkg_postinst_${SRCNAME}-setup () {
80inherit setuptools identity hosts update-rc.d 86inherit setuptools identity hosts update-rc.d
81 87
82PACKAGES += " ${SRCNAME}-tests" 88PACKAGES += " ${SRCNAME}-tests"
83PACKAGES += "${SRCNAME}-setup ${SRCNAME}-common ${SRCNAME}-api ${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" 89PACKAGES += "${SRCNAME}-setup ${SRCNAME}-common ${SRCNAME}-api"
90PACKAGES += "${SRCNAME}-alarm-notifier ${SRCNAME}-alarm-evaluator"
91PACKAGES += "${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller"
84 92
85ALLOW_EMPTY_${SRCNAME}-setup = "1" 93ALLOW_EMPTY_${SRCNAME}-setup = "1"
86 94
@@ -99,6 +107,14 @@ FILES_${SRCNAME}-collector = "${bindir}/ceilometer-collector \
99 ${bindir}/ceilometer-collector-udp \ 107 ${bindir}/ceilometer-collector-udp \
100 ${sysconfdir}/init.d/ceilometer-collector \ 108 ${sysconfdir}/init.d/ceilometer-collector \
101" 109"
110FILES_${SRCNAME}-alarm-evaluator = "${bindir}/ceilometer-alarm-evaluator \
111 ${sysconfdir}/init.d/ceilometer-alarm-evaluator \
112"
113
114FILES_${SRCNAME}-alarm-notifier = "${bindir}/ceilometer-alarm-notifier \
115 ${sysconfdir}/init.d/ceilometer-alarm-notifier \
116"
117
102FILES_${SRCNAME}-compute = "${bindir}/ceilometer-agent-compute \ 118FILES_${SRCNAME}-compute = "${bindir}/ceilometer-agent-compute \
103 ${sysconfdir}/init.d/ceilometer-agent-compute \ 119 ${sysconfdir}/init.d/ceilometer-agent-compute \
104" 120"
@@ -152,13 +168,17 @@ RDEPENDS_${PN} += " \
152 python-pytz \ 168 python-pytz \
153 " 169 "
154 170
155RDEPENDS_${SRCNAME}-controller = "${PN} ${SRCNAME}-common postgresql postgresql-client python-psycopg2 tgt" 171RDEPENDS_${SRCNAME}-controller = "${PN} ${SRCNAME}-common ${SRCNAME}-alarm-notifier ${SRCNAME}-alarm-evaluator \
172 postgresql postgresql-client python-psycopg2 tgt"
156RDEPENDS_${SRCNAME}-api = "${SRCNAME}-controller" 173RDEPENDS_${SRCNAME}-api = "${SRCNAME}-controller"
157RDEPENDS_${SRCNAME}-collector = "${SRCNAME}-controller" 174RDEPENDS_${SRCNAME}-collector = "${SRCNAME}-controller"
158RDEPENDS_${SRCNAME}-compute = "${PN} ${SRCNAME}-common python-ceilometerclient libvirt" 175RDEPENDS_${SRCNAME}-compute = "${PN} ${SRCNAME}-common python-ceilometerclient libvirt"
159 176
160INITSCRIPT_PACKAGES = "${SRCNAME}-api ${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" 177INITSCRIPT_PACKAGES = "${SRCNAME}-api ${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller"
178INITSCRIPT_PACKAGES += "${SRCNAME}-alarm-notifier ${SRCNAME}-alarm-evaluator"
161INITSCRIPT_NAME_${SRCNAME}-api = "${SRCNAME}-api" 179INITSCRIPT_NAME_${SRCNAME}-api = "${SRCNAME}-api"
162INITSCRIPT_NAME_${SRCNAME}-collector = "${SRCNAME}-collector" 180INITSCRIPT_NAME_${SRCNAME}-collector = "${SRCNAME}-collector"
163INITSCRIPT_NAME_${SRCNAME}-compute = "${SRCNAME}-agent-compute" 181INITSCRIPT_NAME_${SRCNAME}-compute = "${SRCNAME}-agent-compute"
164INITSCRIPT_NAME_${SRCNAME}-controller = "${SRCNAME}-agent-central" 182INITSCRIPT_NAME_${SRCNAME}-controller = "${SRCNAME}-agent-central"
183INITSCRIPT_NAME_${SRCNAME}-alarm-notifier = "${SRCNAME}-alarm-notifier"
184INITSCRIPT_NAME_${SRCNAME}-alarm-evaluator = "${SRCNAME}-alarm-evaluator"