. /usr/share/debconf/confmodule
API_CONF=/etc/heat/heat-api-cfn.conf
-APIPASTE_CONF=/etc/heat/heat-api-cfn-paste.ini
#PKGOS-INCLUDE#
pkgos_var_user_group heat
-pkgos_read_admin_creds ${APIPASTE_CONF} filter:authtoken heat
+pkgos_read_admin_creds ${API_CONF} keystone_authtoken heat
exit 0
-etc/heat/heat-api-cfn-paste.ini /usr/share/heat-api-cfn
-etc/heat/heat-api-cfn.conf
+etc/heat/heat-api-cfn.conf /usr/share/heat-api-cfn
usr/bin/heat-api-cfn
if [ "$1" = "configure" ] ; then
. /usr/share/debconf/confmodule
pkgos_var_user_group heat
- pkgos_write_new_conf heat heat-api-cfn-paste.ini
- pkgos_write_admin_creds /etc/heat/heat-api-cfn-paste.ini filter:authtoken heat
+ pkgos_write_new_conf heat heat-api-cfn.conf
+ pkgos_write_admin_creds /etc/heat/heat-api-cfn.conf keystone_authtoken heat
chown -R heat:adm /var/log/heat
chmod 0750 /var/log/heat
fi
set -e
if [ "${1}" = "purge" ] ; then
- rm -f /etc/heat/heat-api-cfn-paste.ini
+ rm -f /etc/heat/heat-api-cfn.conf
[ -d /etc/heat ] && rmdir --ignore-fail-on-non-empty /etc/heat
rm -rf /var/log/heat/api-cfn*
[ -d /var/log/heat ] && rmdir --ignore-fail-on-non-empty /var/log/heat
. /usr/share/debconf/confmodule
-APIPASTE_CONF=/etc/heat/heat-api-cloudwatch-paste.ini
+API_CONF=/etc/heat/heat-api-cloudwatch.conf
#PKGOS-INCLUDE#
pkgos_var_user_group heat
-pkgos_read_admin_creds ${APIPASTE_CONF} filter:authtoken heat
+pkgos_read_admin_creds ${API_CONF} keystone_authtoken heat
exit 0
/usr/bin/heat-api-cloudwatch
-etc/heat/heat-api-cloudwatch-paste.ini /usr/share/heat-api-cloudwatch
-etc/heat/heat-api-cloudwatch.conf
+etc/heat/heat-api-cloudwatch.conf /usr/share/heat-api-cloudwatch
if [ "$1" = "configure" ] ; then
. /usr/share/debconf/confmodule
pkgos_var_user_group heat
- pkgos_write_new_conf heat heat-api-cloudwatch-paste.ini
- pkgos_write_admin_creds /etc/heat/heat-api-cloudwatch-paste.ini filter:authtoken heat
+ pkgos_write_new_conf heat heat-api-cloudwatch.conf
+ pkgos_write_admin_creds /etc/heat/heat-api-cloudwatch.conf keystone_authtoken heat
chown -R heat:adm /var/log/heat
chmod 0750 /var/log/heat
fi
set -e
if [ "${1}" = "purge" ] ; then
- rm -f /etc/heat/heat-api-cloudwatch-paste.ini
+ rm -f /etc/heat/heat-api-cloudwatch.conf
[ -d /etc/heat ] && rmdir --ignore-fail-on-non-empty /etc/heat
rm -rf /var/log/heat/api-cloudwatch*
[ -d /var/log/heat ] && rmdir --ignore-fail-on-non-empty /var/log/heat
. /usr/share/debconf/confmodule
API_CONF=/etc/heat/heat-api.conf
-APIPASTE_CONF=/etc/heat/heat-api-paste.ini
#PKGOS-INCLUDE#
pkgos_var_user_group heat
-pkgos_read_admin_creds ${APIPASTE_CONF} filter:authtoken heat
+pkgos_read_admin_creds ${API_CONF} keystone_authtoken heat
pkgos_register_endpoint_config heat
exit 0
-etc/heat/heat-api-paste.ini /usr/share/heat-api
-etc/heat/heat-api.conf
+etc/heat/heat-api.conf /usr/share/heat-api
usr/bin/heat-api
set -e
-ETC=/etc/heat
-
#PKGOS-INCLUDE#
if [ "$1" = "configure" ] ; then
pkgos_var_user_group heat
- pkgos_write_new_conf heat heat-api-paste.ini
- pkgos_write_admin_creds /etc/heat/heat-api-paste.ini filter:authtoken heat
+ pkgos_write_new_conf heat heat-api.conf
+ pkgos_write_admin_creds /etc/heat/heat-api.conf keystone_authtoken heat
pkgos_register_endpoint_postinst heat heat orchestration "Heat Orchestration API" 8004 /v1/'%(tenant_id)s'
set -e
if [ "${1}" = "purge" ] ; then
- rm -f /etc/heat/heat-api-paste.ini
+ rm -f /etc/heat/heat-api.conf
[ -d /etc/heat ] && rmdir --ignore-fail-on-non-empty /etc/heat
rm -rf /var/log/heat/api.*
[ -d /var/log/heat ] && rmdir --ignore-fail-on-non-empty /var/log/heat
override_dh_install:
dh_install
sed -i 's/^[ \t]*rpc_backend[ \t]*=[ \t]*heat.openstack.common.rpc.impl_qpid/rpc_backend=heat.openstack.common.rpc.impl_kombu/' $(CURDIR)/debian/heat-engine/usr/share/heat-engine/heat-engine.conf
- sed -i 's/^[ \t]*rpc_backend[ \t]*=[ \t]*heat.openstack.common.rpc.impl_qpid/rpc_backend=heat.openstack.common.rpc.impl_kombu/' $(CURDIR)/debian/heat-api-cloudwatch/etc/heat/heat-api-cloudwatch.conf
- sed -i 's/^[ \t]*rpc_backend[ \t]*=[ \t]*heat.openstack.common.rpc.impl_qpid/rpc_backend=heat.openstack.common.rpc.impl_kombu/' $(CURDIR)/debian/heat-api-cfn/etc/heat/heat-api-cfn.conf
- sed -i 's/^[ \t]*rpc_backend[ \t]*=[ \t]*heat.openstack.common.rpc.impl_qpid/rpc_backend=heat.openstack.common.rpc.impl_kombu/' $(CURDIR)/debian/heat-api/etc/heat/heat-api.conf
+ sed -i 's/^[ \t]*rpc_backend[ \t]*=[ \t]*heat.openstack.common.rpc.impl_qpid/rpc_backend=heat.openstack.common.rpc.impl_kombu/' $(CURDIR)/debian/heat-api-cloudwatch/usr/share/heat-api-cloudwatch/heat-api-cloudwatch.conf
+ sed -i 's/^[ \t]*rpc_backend[ \t]*=[ \t]*heat.openstack.common.rpc.impl_qpid/rpc_backend=heat.openstack.common.rpc.impl_kombu/' $(CURDIR)/debian/heat-api-cfn/usr/share/heat-api-cfn/heat-api-cfn.conf
+ sed -i 's/^[ \t]*rpc_backend[ \t]*=[ \t]*heat.openstack.common.rpc.impl_qpid/rpc_backend=heat.openstack.common.rpc.impl_kombu/' $(CURDIR)/debian/heat-api/usr/share/heat-api/heat-api.conf
override_dh_auto_build:
dh_auto_build