diff options
| author | Mark Asselstine <mark.asselstine@windriver.com> | 2017-01-09 10:04:10 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-01-09 12:23:58 -0500 |
| commit | 0d6067258d09fdd47c95828e5e0e9b0f9987a529 (patch) | |
| tree | dbce7395b11e577bbcd633fa0daeae24697df42e /meta-openstack/recipes-devtools/python/python-heat_git.bb | |
| parent | 96dd0da3edc2f56de99d84ef96effdbf366a3041 (diff) | |
| download | meta-cloud-services-0d6067258d09fdd47c95828e5e0e9b0f9987a529.tar.gz | |
chef: remove the use of chef
The use of chef was never complete, had isses with updating binary
database files and had a cumbersome implementation. Since we are using
Ansible in meta-overc we are dropping the use of chef here and will
look to being at par with meta-overc by using Ansible if/when we get
time to look at runtime configuration in meta-cloud-services.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-heat_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-heat_git.bb | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-heat_git.bb b/meta-openstack/recipes-devtools/python/python-heat_git.bb index 75d5ba6..6da768f 100644 --- a/meta-openstack/recipes-devtools/python/python-heat_git.bb +++ b/meta-openstack/recipes-devtools/python/python-heat_git.bb | |||
| @@ -70,25 +70,24 @@ do_install_append() { | |||
| 70 | install -d ${HEAT_CONF_DIR}/environment.d | 70 | install -d ${HEAT_CONF_DIR}/environment.d |
| 71 | install -m 600 ${TEMPLATE_CONF_DIR}/environment.d/* ${HEAT_CONF_DIR}/environment.d | 71 | install -m 600 ${TEMPLATE_CONF_DIR}/environment.d/* ${HEAT_CONF_DIR}/environment.d |
| 72 | install -m 664 ${TEMPLATE_CONF_DIR}/api-paste.ini ${HEAT_CONF_DIR} | 72 | install -m 664 ${TEMPLATE_CONF_DIR}/api-paste.ini ${HEAT_CONF_DIR} |
| 73 | if [ -z "${OPENSTACKCHEF_ENABLED}" ]; then | 73 | sed -e "s:%SERVICE_TENANT_NAME%:${SERVICE_TENANT_NAME}:g" \ |
| 74 | sed -e "s:%SERVICE_TENANT_NAME%:${SERVICE_TENANT_NAME}:g" \ | 74 | -i ${HEAT_CONF_DIR}/api-paste.ini |
| 75 | -i ${HEAT_CONF_DIR}/api-paste.ini | 75 | sed -e "s:%SERVICE_USER%:${SRCNAME}:g" -i ${HEAT_CONF_DIR}/api-paste.ini |
| 76 | sed -e "s:%SERVICE_USER%:${SRCNAME}:g" -i ${HEAT_CONF_DIR}/api-paste.ini | 76 | sed -e "s:%SERVICE_PASSWORD%:${SERVICE_PASSWORD}:g" -i ${HEAT_CONF_DIR}/api-paste.ini |
| 77 | sed -e "s:%SERVICE_PASSWORD%:${SERVICE_PASSWORD}:g" -i ${HEAT_CONF_DIR}/api-paste.ini | 77 | sed -e "s:%CONTROLLER_IP%:${CONTROLLER_IP}:g" -i ${HEAT_CONF_DIR}/api-paste.ini |
| 78 | sed -e "s:%CONTROLLER_IP%:${CONTROLLER_IP}:g" -i ${HEAT_CONF_DIR}/api-paste.ini | ||
| 79 | 78 | ||
| 80 | sed -e "s:%DB_USER%:${DB_USER}:g" -i ${HEAT_CONF_DIR}/heat.conf | 79 | sed -e "s:%DB_USER%:${DB_USER}:g" -i ${HEAT_CONF_DIR}/heat.conf |
| 81 | sed -e "s:%DB_PASSWORD%:${DB_PASSWORD}:g" -i ${HEAT_CONF_DIR}/heat.conf | 80 | sed -e "s:%DB_PASSWORD%:${DB_PASSWORD}:g" -i ${HEAT_CONF_DIR}/heat.conf |
| 82 | 81 | ||
| 83 | sed -e "s:%CONTROLLER_IP%:${CONTROLLER_IP}:g" -i ${HEAT_CONF_DIR}/heat.conf | 82 | sed -e "s:%CONTROLLER_IP%:${CONTROLLER_IP}:g" -i ${HEAT_CONF_DIR}/heat.conf |
| 84 | sed -e "s:%CONTROLLER_HOST%:${CONTROLLER_HOST}:g" -i ${HEAT_CONF_DIR}/heat.conf | 83 | sed -e "s:%CONTROLLER_HOST%:${CONTROLLER_HOST}:g" -i ${HEAT_CONF_DIR}/heat.conf |
| 85 | 84 | ||
| 86 | sed -e "s:%COMPUTE_IP%:${COMPUTE_IP}:g" -i ${HEAT_CONF_DIR}/heat.conf | 85 | sed -e "s:%COMPUTE_IP%:${COMPUTE_IP}:g" -i ${HEAT_CONF_DIR}/heat.conf |
| 87 | sed -e "s:%COMPUTE_HOST%:${COMPUTE_HOST}:g" -i ${HEAT_CONF_DIR}/heat.conf | 86 | sed -e "s:%COMPUTE_HOST%:${COMPUTE_HOST}:g" -i ${HEAT_CONF_DIR}/heat.conf |
| 87 | |||
| 88 | sed -e "s:%ADMIN_PASSWORD%:${ADMIN_PASSWORD}:g" -i ${HEAT_CONF_DIR}/heat.conf | ||
| 89 | sed -e "s:%SERVICE_TENANT_NAME%:${SERVICE_TENANT_NAME}:g" -i ${HEAT_CONF_DIR}/heat.conf | ||
| 88 | 90 | ||
| 89 | sed -e "s:%ADMIN_PASSWORD%:${ADMIN_PASSWORD}:g" -i ${HEAT_CONF_DIR}/heat.conf | ||
| 90 | sed -e "s:%SERVICE_TENANT_NAME%:${SERVICE_TENANT_NAME}:g" -i ${HEAT_CONF_DIR}/heat.conf | ||
| 91 | fi | ||
| 92 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 91 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
| 93 | install -d ${D}${sysconfdir}/init.d | 92 | install -d ${D}${sysconfdir}/init.d |
| 94 | 93 | ||
| @@ -107,10 +106,6 @@ do_install_append() { | |||
| 107 | fi | 106 | fi |
| 108 | } | 107 | } |
| 109 | 108 | ||
| 110 | CHEF_SERVICES_CONF_FILES :="\ | ||
| 111 | ${sysconfdir}/${SRCNAME}/heat.conf \ | ||
| 112 | ${sysconfdir}/${SRCNAME}/api-paste.ini \ | ||
| 113 | " | ||
| 114 | pkg_postinst_${SRCNAME}-setup () { | 109 | pkg_postinst_${SRCNAME}-setup () { |
| 115 | if [ "x$D" != "x" ]; then | 110 | if [ "x$D" != "x" ]; then |
| 116 | exit 1 | 111 | exit 1 |
| @@ -128,7 +123,7 @@ pkg_postinst_${SRCNAME}-setup () { | |||
| 128 | heat-manage db_sync | 123 | heat-manage db_sync |
| 129 | } | 124 | } |
| 130 | 125 | ||
| 131 | inherit setuptools identity hosts update-rc.d default_configs openstackchef monitor | 126 | inherit setuptools identity hosts update-rc.d default_configs monitor |
| 132 | 127 | ||
| 133 | PACKAGES += "${SRCNAME}-tests ${SRCNAME}-templates ${SRCNAME}-common ${SRCNAME}-api ${SRCNAME}-api-cfn ${SRCNAME}-engine" | 128 | PACKAGES += "${SRCNAME}-tests ${SRCNAME}-templates ${SRCNAME}-common ${SRCNAME}-api ${SRCNAME}-api-cfn ${SRCNAME}-engine" |
| 134 | PACKAGES += "${SRCNAME}-setup" | 129 | PACKAGES += "${SRCNAME}-setup" |
