diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-ceilometer_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-ceilometer_git.bb | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb index 1f18d7b..2d6d708 100644 --- a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb +++ b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb | |||
| @@ -47,13 +47,13 @@ python () { | |||
| 47 | d.setVarFlags("USERCREATE_PARAM_%s-reseller" % d.getVar('SRCNAME',True), flags) | 47 | d.setVarFlags("USERCREATE_PARAM_%s-reseller" % d.getVar('SRCNAME',True), flags) |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | do_configure_append() { | 50 | do_configure:append() { |
| 51 | # We are using postgresql support, hence this requirement is not valid | 51 | # We are using postgresql support, hence this requirement is not valid |
| 52 | # removing it, to avoid on-target runtime issues | 52 | # removing it, to avoid on-target runtime issues |
| 53 | sed -e "s:MySQL-python::g" -i ${S}/requirements.txt | 53 | sed -e "s:MySQL-python::g" -i ${S}/requirements.txt |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | do_install_append() { | 56 | do_install:append() { |
| 57 | TEMPLATE_CONF_DIR=${S}${sysconfdir}/${SRCNAME} | 57 | TEMPLATE_CONF_DIR=${S}${sysconfdir}/${SRCNAME} |
| 58 | CEILOMETER_CONF_DIR=${D}${sysconfdir}/${SRCNAME} | 58 | CEILOMETER_CONF_DIR=${D}${sysconfdir}/${SRCNAME} |
| 59 | 59 | ||
| @@ -107,7 +107,7 @@ do_install_append() { | |||
| 107 | fi | 107 | fi |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | pkg_postinst_${SRCNAME}-setup () { | 110 | pkg_postinst:${SRCNAME}-setup () { |
| 111 | if [ -z "$D" ]; then | 111 | if [ -z "$D" ]; then |
| 112 | # This is to make sure postgres is configured and running | 112 | # This is to make sure postgres is configured and running |
| 113 | if ! pidof postmaster > /dev/null; then | 113 | if ! pidof postmaster > /dev/null; then |
| @@ -131,44 +131,44 @@ PACKAGES += "${SRCNAME}-agent-notification" | |||
| 131 | PACKAGES += "${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" | 131 | PACKAGES += "${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" |
| 132 | PACKAGES += " ${SRCNAME}-reseller" | 132 | PACKAGES += " ${SRCNAME}-reseller" |
| 133 | 133 | ||
| 134 | RDEPENDS_${SRCNAME}-tests += " bash" | 134 | RDEPENDS:${SRCNAME}-tests += " bash" |
| 135 | 135 | ||
| 136 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | 136 | ALLOW_EMPTY:${SRCNAME}-setup = "1" |
| 137 | ALLOW_EMPTY_${SRCNAME}-reseller = "1" | 137 | ALLOW_EMPTY:${SRCNAME}-reseller = "1" |
| 138 | ALLOW_EMPTY_${SRCNAME}-tests = "1" | 138 | ALLOW_EMPTY:${SRCNAME}-tests = "1" |
| 139 | 139 | ||
| 140 | FILES_${PN} = "${libdir}/*" | 140 | FILES:${PN} = "${libdir}/*" |
| 141 | 141 | ||
| 142 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/setup-test-env.sh" | 142 | FILES:${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/setup-test-env.sh" |
| 143 | 143 | ||
| 144 | FILES_${SRCNAME}-common = "${sysconfdir}/${SRCNAME}/* \ | 144 | FILES:${SRCNAME}-common = "${sysconfdir}/${SRCNAME}/* \ |
| 145 | " | 145 | " |
| 146 | 146 | ||
| 147 | FILES_${SRCNAME}-api = "${bindir}/ceilometer-api \ | 147 | FILES:${SRCNAME}-api = "${bindir}/ceilometer-api \ |
| 148 | ${sysconfdir}/init.d/ceilometer-api \ | 148 | ${sysconfdir}/init.d/ceilometer-api \ |
| 149 | " | 149 | " |
| 150 | 150 | ||
| 151 | FILES_${SRCNAME}-collector = "${bindir}/ceilometer-collector \ | 151 | FILES:${SRCNAME}-collector = "${bindir}/ceilometer-collector \ |
| 152 | ${bindir}/ceilometer-collector-udp \ | 152 | ${bindir}/ceilometer-collector-udp \ |
| 153 | ${sysconfdir}/init.d/ceilometer-collector \ | 153 | ${sysconfdir}/init.d/ceilometer-collector \ |
| 154 | " | 154 | " |
| 155 | FILES_${SRCNAME}-alarm-evaluator = "${bindir}/ceilometer-alarm-evaluator \ | 155 | FILES:${SRCNAME}-alarm-evaluator = "${bindir}/ceilometer-alarm-evaluator \ |
| 156 | ${sysconfdir}/init.d/ceilometer-alarm-evaluator \ | 156 | ${sysconfdir}/init.d/ceilometer-alarm-evaluator \ |
| 157 | " | 157 | " |
| 158 | 158 | ||
| 159 | FILES_${SRCNAME}-alarm-notifier = "${bindir}/ceilometer-alarm-notifier \ | 159 | FILES:${SRCNAME}-alarm-notifier = "${bindir}/ceilometer-alarm-notifier \ |
| 160 | ${sysconfdir}/init.d/ceilometer-alarm-notifier \ | 160 | ${sysconfdir}/init.d/ceilometer-alarm-notifier \ |
| 161 | " | 161 | " |
| 162 | 162 | ||
| 163 | FILES_${SRCNAME}-agent-notification = "${bindir}/ceilometer-agent-notification \ | 163 | FILES:${SRCNAME}-agent-notification = "${bindir}/ceilometer-agent-notification \ |
| 164 | ${sysconfdir}/init.d/ceilometer-agent-notification \ | 164 | ${sysconfdir}/init.d/ceilometer-agent-notification \ |
| 165 | " | 165 | " |
| 166 | 166 | ||
| 167 | FILES_${SRCNAME}-compute = "${bindir}/ceilometer-agent-compute \ | 167 | FILES:${SRCNAME}-compute = "${bindir}/ceilometer-agent-compute \ |
| 168 | ${sysconfdir}/init.d/ceilometer-agent-compute \ | 168 | ${sysconfdir}/init.d/ceilometer-agent-compute \ |
| 169 | " | 169 | " |
| 170 | 170 | ||
| 171 | FILES_${SRCNAME}-controller = "${bindir}/* \ | 171 | FILES:${SRCNAME}-controller = "${bindir}/* \ |
| 172 | ${localstatedir}/* \ | 172 | ${localstatedir}/* \ |
| 173 | ${sysconfdir}/init.d/ceilometer-agent-central \ | 173 | ${sysconfdir}/init.d/ceilometer-agent-central \ |
| 174 | " | 174 | " |
| @@ -183,7 +183,7 @@ DEPENDS += " \ | |||
| 183 | python-pbr-native \ | 183 | python-pbr-native \ |
| 184 | " | 184 | " |
| 185 | 185 | ||
| 186 | RDEPENDS_${PN} += " \ | 186 | RDEPENDS:${PN} += " \ |
| 187 | python-ply \ | 187 | python-ply \ |
| 188 | python-jsonpath-rw \ | 188 | python-jsonpath-rw \ |
| 189 | python-sqlalchemy \ | 189 | python-sqlalchemy \ |
| @@ -258,30 +258,30 @@ RDEPENDS_${PN} += " \ | |||
| 258 | python-tooz \ | 258 | python-tooz \ |
| 259 | " | 259 | " |
| 260 | 260 | ||
| 261 | RDEPENDS_${SRCNAME}-controller = "${PN} ${SRCNAME}-common ${SRCNAME}-alarm-notifier ${SRCNAME}-alarm-evaluator ${SRCNAME}-agent-notification ${SRCNAME}-reseller \ | 261 | RDEPENDS:${SRCNAME}-controller = "${PN} ${SRCNAME}-common ${SRCNAME}-alarm-notifier ${SRCNAME}-alarm-evaluator ${SRCNAME}-agent-notification ${SRCNAME}-reseller \ |
| 262 | postgresql postgresql-client python-psycopg2 tgt" | 262 | postgresql postgresql-client python-psycopg2 tgt" |
| 263 | RDEPENDS_${SRCNAME}-api = "${SRCNAME}-controller" | 263 | RDEPENDS:${SRCNAME}-api = "${SRCNAME}-controller" |
| 264 | RDEPENDS_${SRCNAME}-collector = "${SRCNAME}-controller" | 264 | RDEPENDS:${SRCNAME}-collector = "${SRCNAME}-controller" |
| 265 | RDEPENDS_${SRCNAME}-compute = "${PN} ${SRCNAME}-common python-ceilometerclient libvirt" | 265 | RDEPENDS:${SRCNAME}-compute = "${PN} ${SRCNAME}-common python-ceilometerclient libvirt" |
| 266 | RDEPENDS_${SRCNAME}-setup = "postgresql sudo ${SRCNAME}-controller" | 266 | RDEPENDS:${SRCNAME}-setup = "postgresql sudo ${SRCNAME}-controller" |
| 267 | RDEPENDS_${SRCNAME}-reseller = "postgresql sudo ${SRCNAME}-controller" | 267 | RDEPENDS:${SRCNAME}-reseller = "postgresql sudo ${SRCNAME}-controller" |
| 268 | 268 | ||
| 269 | INITSCRIPT_PACKAGES = "${SRCNAME}-api ${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" | 269 | INITSCRIPT_PACKAGES = "${SRCNAME}-api ${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" |
| 270 | INITSCRIPT_PACKAGES += "${SRCNAME}-alarm-notifier ${SRCNAME}-alarm-evaluator ${SRCNAME}-agent-notification" | 270 | INITSCRIPT_PACKAGES += "${SRCNAME}-alarm-notifier ${SRCNAME}-alarm-evaluator ${SRCNAME}-agent-notification" |
| 271 | INITSCRIPT_NAME_${SRCNAME}-api = "${SRCNAME}-api" | 271 | INITSCRIPT_NAME:${SRCNAME}-api = "${SRCNAME}-api" |
| 272 | INITSCRIPT_PARAMS_${SRCNAME}-api = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 272 | INITSCRIPT_PARAMS:${SRCNAME}-api = "${OS_DEFAULT_INITSCRIPT_PARAMS}" |
| 273 | INITSCRIPT_NAME_${SRCNAME}-collector = "${SRCNAME}-collector" | 273 | INITSCRIPT_NAME:${SRCNAME}-collector = "${SRCNAME}-collector" |
| 274 | INITSCRIPT_PARAMS_${SRCNAME}-collector = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 274 | INITSCRIPT_PARAMS:${SRCNAME}-collector = "${OS_DEFAULT_INITSCRIPT_PARAMS}" |
| 275 | INITSCRIPT_NAME_${SRCNAME}-compute = "${SRCNAME}-agent-compute" | 275 | INITSCRIPT_NAME:${SRCNAME}-compute = "${SRCNAME}-agent-compute" |
| 276 | INITSCRIPT_PARAMS_${SRCNAME}-compute = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 276 | INITSCRIPT_PARAMS:${SRCNAME}-compute = "${OS_DEFAULT_INITSCRIPT_PARAMS}" |
| 277 | INITSCRIPT_NAME_${SRCNAME}-controller = "${SRCNAME}-agent-central" | 277 | INITSCRIPT_NAME:${SRCNAME}-controller = "${SRCNAME}-agent-central" |
| 278 | INITSCRIPT_PARAMS_${SRCNAME}-controller = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 278 | INITSCRIPT_PARAMS:${SRCNAME}-controller = "${OS_DEFAULT_INITSCRIPT_PARAMS}" |
| 279 | INITSCRIPT_NAME_${SRCNAME}-alarm-notifier = "${SRCNAME}-alarm-notifier" | 279 | INITSCRIPT_NAME:${SRCNAME}-alarm-notifier = "${SRCNAME}-alarm-notifier" |
| 280 | INITSCRIPT_PARAMS_${SRCNAME}-alarm-notifier = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 280 | INITSCRIPT_PARAMS:${SRCNAME}-alarm-notifier = "${OS_DEFAULT_INITSCRIPT_PARAMS}" |
| 281 | INITSCRIPT_NAME_${SRCNAME}-alarm-evaluator = "${SRCNAME}-alarm-evaluator" | 281 | INITSCRIPT_NAME:${SRCNAME}-alarm-evaluator = "${SRCNAME}-alarm-evaluator" |
| 282 | INITSCRIPT_PARAMS_${SRCNAME}-alarm-evaluator = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 282 | INITSCRIPT_PARAMS:${SRCNAME}-alarm-evaluator = "${OS_DEFAULT_INITSCRIPT_PARAMS}" |
| 283 | INITSCRIPT_NAME_${SRCNAME}-agent-notification = "${SRCNAME}-agent-notification" | 283 | INITSCRIPT_NAME:${SRCNAME}-agent-notification = "${SRCNAME}-agent-notification" |
| 284 | INITSCRIPT_PARAMS_${SRCNAME}-agent-notification = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 284 | INITSCRIPT_PARAMS:${SRCNAME}-agent-notification = "${OS_DEFAULT_INITSCRIPT_PARAMS}" |
| 285 | 285 | ||
| 286 | MONITOR_SERVICE_PACKAGES = "${SRCNAME}" | 286 | MONITOR_SERVICE_PACKAGES = "${SRCNAME}" |
| 287 | MONITOR_SERVICE_${SRCNAME} = "ceilometer" | 287 | MONITOR_SERVICE_${SRCNAME} = "ceilometer" |
