diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-heat_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-heat_git.bb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-heat_git.bb b/meta-openstack/recipes-devtools/python/python-heat_git.bb index b5dd958..94ea031 100644 --- a/meta-openstack/recipes-devtools/python/python-heat_git.bb +++ b/meta-openstack/recipes-devtools/python/python-heat_git.bb | |||
| @@ -10,6 +10,9 @@ SRCNAME = "heat" | |||
| 10 | SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/havana \ | 10 | SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/havana \ |
| 11 | file://heat.conf \ | 11 | file://heat.conf \ |
| 12 | file://heat.init \ | 12 | file://heat.init \ |
| 13 | file://autoscaling_example.template \ | ||
| 14 | file://one_vm_example.template \ | ||
| 15 | file://two_vms_example.template \ | ||
| 13 | " | 16 | " |
| 14 | 17 | ||
| 15 | SRCREV="58de9e6415f5bdabde708c8584b21b59b7e96a88" | 18 | SRCREV="58de9e6415f5bdabde708c8584b21b59b7e96a88" |
| @@ -25,6 +28,7 @@ do_install_append() { | |||
| 25 | install -m 600 ${TEMPLATE_CONF_DIR}/*.json ${HEAT_CONF_DIR} | 28 | install -m 600 ${TEMPLATE_CONF_DIR}/*.json ${HEAT_CONF_DIR} |
| 26 | install -d ${HEAT_CONF_DIR}/templates | 29 | install -d ${HEAT_CONF_DIR}/templates |
| 27 | install -m 600 ${TEMPLATE_CONF_DIR}/templates/* ${HEAT_CONF_DIR}/templates | 30 | install -m 600 ${TEMPLATE_CONF_DIR}/templates/* ${HEAT_CONF_DIR}/templates |
| 31 | install -m 600 ${WORKDIR}/*.template ${HEAT_CONF_DIR}/templates | ||
| 28 | install -d ${HEAT_CONF_DIR}/environment.d | 32 | install -d ${HEAT_CONF_DIR}/environment.d |
| 29 | install -m 600 ${TEMPLATE_CONF_DIR}/environment.d/* ${HEAT_CONF_DIR}/environment.d | 33 | install -m 600 ${TEMPLATE_CONF_DIR}/environment.d/* ${HEAT_CONF_DIR}/environment.d |
| 30 | install -m 664 ${TEMPLATE_CONF_DIR}/api-paste.ini ${HEAT_CONF_DIR} | 34 | install -m 664 ${TEMPLATE_CONF_DIR}/api-paste.ini ${HEAT_CONF_DIR} |
| @@ -82,7 +86,7 @@ pkg_postinst_${SRCNAME}-setup () { | |||
| 82 | 86 | ||
| 83 | inherit setuptools identity hosts update-rc.d default_configs | 87 | inherit setuptools identity hosts update-rc.d default_configs |
| 84 | 88 | ||
| 85 | PACKAGES += "${SRCNAME}-tests ${SRCNAME}-common ${SRCNAME}-api ${SRCNAME}-api-cfn ${SRCNAME}-engine" | 89 | PACKAGES += "${SRCNAME}-tests ${SRCNAME}-templates ${SRCNAME}-common ${SRCNAME}-api ${SRCNAME}-api-cfn ${SRCNAME}-engine" |
| 86 | PACKAGES += "${SRCNAME}-setup" | 90 | PACKAGES += "${SRCNAME}-setup" |
| 87 | 91 | ||
| 88 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | 92 | ALLOW_EMPTY_${SRCNAME}-setup = "1" |
| @@ -91,6 +95,8 @@ FILES_${PN} = "${libdir}/*" | |||
| 91 | 95 | ||
| 92 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" | 96 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" |
| 93 | 97 | ||
| 98 | FILES_${SRCNAME}-templates = "${sysconfdir}/${SRCNAME}/templates/*" | ||
| 99 | |||
| 94 | FILES_${SRCNAME}-common = "${sysconfdir}/${SRCNAME}/* \ | 100 | FILES_${SRCNAME}-common = "${sysconfdir}/${SRCNAME}/* \ |
| 95 | " | 101 | " |
| 96 | 102 | ||
| @@ -157,7 +163,7 @@ RDEPENDS_${PN} += " \ | |||
| 157 | python-pbr \ | 163 | python-pbr \ |
| 158 | " | 164 | " |
| 159 | 165 | ||
| 160 | RDEPENDS_${SRCNAME}-engine = "${PN} ${SRCNAME}-common postgresql postgresql-client python-psycopg2 tgt" | 166 | RDEPENDS_${SRCNAME}-engine = "${PN} ${SRCNAME}-templates ${SRCNAME}-common postgresql postgresql-client python-psycopg2 tgt" |
| 161 | RDEPENDS_${SRCNAME}-api = "${SRCNAME}-engine" | 167 | RDEPENDS_${SRCNAME}-api = "${SRCNAME}-engine" |
| 162 | RDEPENDS_${SRCNAME}-api-cfn = "${SRCNAME}-engine" | 168 | RDEPENDS_${SRCNAME}-api-cfn = "${SRCNAME}-engine" |
| 163 | RDEPENDS_${SRCNAME}-setup = "postgresql sudo ${SRCNAME}-engine" | 169 | RDEPENDS_${SRCNAME}-setup = "postgresql sudo ${SRCNAME}-engine" |
