diff options
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-ceilometer_git.bb | 26 |
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 () { | |||
80 | inherit setuptools identity hosts update-rc.d | 86 | inherit setuptools identity hosts update-rc.d |
81 | 87 | ||
82 | PACKAGES += " ${SRCNAME}-tests" | 88 | PACKAGES += " ${SRCNAME}-tests" |
83 | PACKAGES += "${SRCNAME}-setup ${SRCNAME}-common ${SRCNAME}-api ${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" | 89 | PACKAGES += "${SRCNAME}-setup ${SRCNAME}-common ${SRCNAME}-api" |
90 | PACKAGES += "${SRCNAME}-alarm-notifier ${SRCNAME}-alarm-evaluator" | ||
91 | PACKAGES += "${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" | ||
84 | 92 | ||
85 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | 93 | ALLOW_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 | " |
110 | FILES_${SRCNAME}-alarm-evaluator = "${bindir}/ceilometer-alarm-evaluator \ | ||
111 | ${sysconfdir}/init.d/ceilometer-alarm-evaluator \ | ||
112 | " | ||
113 | |||
114 | FILES_${SRCNAME}-alarm-notifier = "${bindir}/ceilometer-alarm-notifier \ | ||
115 | ${sysconfdir}/init.d/ceilometer-alarm-notifier \ | ||
116 | " | ||
117 | |||
102 | FILES_${SRCNAME}-compute = "${bindir}/ceilometer-agent-compute \ | 118 | FILES_${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 | ||
155 | RDEPENDS_${SRCNAME}-controller = "${PN} ${SRCNAME}-common postgresql postgresql-client python-psycopg2 tgt" | 171 | RDEPENDS_${SRCNAME}-controller = "${PN} ${SRCNAME}-common ${SRCNAME}-alarm-notifier ${SRCNAME}-alarm-evaluator \ |
172 | postgresql postgresql-client python-psycopg2 tgt" | ||
156 | RDEPENDS_${SRCNAME}-api = "${SRCNAME}-controller" | 173 | RDEPENDS_${SRCNAME}-api = "${SRCNAME}-controller" |
157 | RDEPENDS_${SRCNAME}-collector = "${SRCNAME}-controller" | 174 | RDEPENDS_${SRCNAME}-collector = "${SRCNAME}-controller" |
158 | RDEPENDS_${SRCNAME}-compute = "${PN} ${SRCNAME}-common python-ceilometerclient libvirt" | 175 | RDEPENDS_${SRCNAME}-compute = "${PN} ${SRCNAME}-common python-ceilometerclient libvirt" |
159 | 176 | ||
160 | INITSCRIPT_PACKAGES = "${SRCNAME}-api ${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" | 177 | INITSCRIPT_PACKAGES = "${SRCNAME}-api ${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" |
178 | INITSCRIPT_PACKAGES += "${SRCNAME}-alarm-notifier ${SRCNAME}-alarm-evaluator" | ||
161 | INITSCRIPT_NAME_${SRCNAME}-api = "${SRCNAME}-api" | 179 | INITSCRIPT_NAME_${SRCNAME}-api = "${SRCNAME}-api" |
162 | INITSCRIPT_NAME_${SRCNAME}-collector = "${SRCNAME}-collector" | 180 | INITSCRIPT_NAME_${SRCNAME}-collector = "${SRCNAME}-collector" |
163 | INITSCRIPT_NAME_${SRCNAME}-compute = "${SRCNAME}-agent-compute" | 181 | INITSCRIPT_NAME_${SRCNAME}-compute = "${SRCNAME}-agent-compute" |
164 | INITSCRIPT_NAME_${SRCNAME}-controller = "${SRCNAME}-agent-central" | 182 | INITSCRIPT_NAME_${SRCNAME}-controller = "${SRCNAME}-agent-central" |
183 | INITSCRIPT_NAME_${SRCNAME}-alarm-notifier = "${SRCNAME}-alarm-notifier" | ||
184 | INITSCRIPT_NAME_${SRCNAME}-alarm-evaluator = "${SRCNAME}-alarm-evaluator" | ||