Added Debian folder.
This commit is contained in:
parent
05a39ef93f
commit
bffda166c3
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,5 @@
|
|||
heat (0.0.7-1) experimental; urgency=low
|
||||
|
||||
* Initial release (Closes: #695302).
|
||||
|
||||
-- Thomas Goirand <zigo@debian.org> Wed, 14 Nov 2012 14:41:52 +0000
|
|
@ -0,0 +1 @@
|
|||
9
|
|
@ -0,0 +1,152 @@
|
|||
Source: heat
|
||||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
|
||||
Uploaders: Loic Dachary (OuoU) <loic@debian.org>,
|
||||
Julien Danjou <acid@debian.org>,
|
||||
Thomas Goirand <zigo@debian.org>,
|
||||
Ghe Rivero <ghe.rivero@stackops.com>,
|
||||
Mehdi Abaakouk <sileht@sileht.net>
|
||||
Build-Depends: debhelper (>= 9),
|
||||
python-all (>= 2.6.6-3~),
|
||||
openstack-pkg-tools
|
||||
Build-Depends-Indep: pep8,
|
||||
python-argparse,
|
||||
python-boto,
|
||||
python-eventlet (>= 0.9.16),
|
||||
python-glanceclient,
|
||||
python-greenlet (>= 0.3.1),
|
||||
python-httplib2,
|
||||
python-iso8601,
|
||||
python-keystoneclient,
|
||||
python-kombu,
|
||||
python-lxml (>= 2.3),
|
||||
python-lxml (<< 2.3.5),
|
||||
python-memcache,
|
||||
python-migrate,
|
||||
python-novaclient,
|
||||
python-pastedeploy,
|
||||
python-pycryptopp,
|
||||
python-qpid,
|
||||
python-quantumclient,
|
||||
python-routes,
|
||||
python-sendfile,
|
||||
python-setuptools,
|
||||
python-sqlalchemy (>= 0.7.8),
|
||||
python-swiftclient,
|
||||
python-webob,
|
||||
python-yaml
|
||||
Standards-Version: 3.9.3
|
||||
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/heat.git;a=summary
|
||||
Vcs-Git: git://anonscm.debian.org/openstack/heat.git
|
||||
Homepage: http://wiki.openstack.org/Heat
|
||||
|
||||
Package: python-heat
|
||||
Architecture: all
|
||||
Pre-Depends: dpkg (>= 1.15.6~)
|
||||
Depends: ${python:Depends}, ${misc:Depends},
|
||||
pep8,
|
||||
python-argparse,
|
||||
python-boto,
|
||||
python-eventlet (>= 0.9.16),
|
||||
python-glanceclient,
|
||||
python-greenlet (>= 0.3.1),
|
||||
python-httplib2,
|
||||
python-iso8601,
|
||||
python-keystoneclient,
|
||||
python-kombu,
|
||||
python-lxml (>= 2.3),
|
||||
python-lxml (<< 2.3.5),
|
||||
python-memcache,
|
||||
python-migrate,
|
||||
python-novaclient,
|
||||
python-pastedeploy,
|
||||
python-pycryptopp,
|
||||
python-qpid,
|
||||
python-quantumclient,
|
||||
python-routes,
|
||||
python-sendfile,
|
||||
python-setuptools,
|
||||
python-sqlalchemy (>= 0.7.8),
|
||||
python-swiftclient,
|
||||
python-webob,
|
||||
python-yaml
|
||||
Description: service to orchestrate multiple composite cloud applications (python files)
|
||||
Heat is a service to orchestrate multiple composite cloud applications using
|
||||
templates, through both an OpenStack-native ReST API and a
|
||||
CloudFormation-compatible Query API.
|
||||
.
|
||||
This package contains the Python libraries.
|
||||
|
||||
Package: heat-common
|
||||
Architecture: all
|
||||
Pre-Depends: dpkg (>= 1.15.6~)
|
||||
Depends: ${python:Depends}, ${misc:Depends}, python-heat (=${binary:Version}),
|
||||
adduser
|
||||
Description: service to orchestrate multiple composite cloud applications (common files)
|
||||
Heat is a service to orchestrate multiple composite cloud applications using
|
||||
templates, through both an OpenStack-native ReST API and a
|
||||
CloudFormation-compatible Query API.
|
||||
.
|
||||
This package contains the common files.
|
||||
|
||||
Package: heat-engine
|
||||
Architecture: all
|
||||
Pre-Depends: dpkg (>= 1.15.6~)
|
||||
Depends: ${ostack-lsb-base}, ${python:Depends}, ${misc:Depends}, heat-common (=${binary:Version}),
|
||||
adduser
|
||||
Description: service to orchestrate multiple composite cloud applications (engine)
|
||||
Heat is a service to orchestrate multiple composite cloud applications using
|
||||
templates, through both an OpenStack-native ReST API and a
|
||||
CloudFormation-compatible Query API.
|
||||
.
|
||||
This package contains the heat engine, which is the core service of heat, and
|
||||
which the API servers will use.
|
||||
|
||||
Package: heat-api
|
||||
Architecture: all
|
||||
Pre-Depends: dpkg (>= 1.15.6~)
|
||||
Depends: ${ostack-lsb-base}, ${python:Depends}, ${misc:Depends}, heat-common (=${binary:Version}),
|
||||
adduser
|
||||
Description: service to orchestrate multiple composite cloud applications (ReST API)
|
||||
Heat is a service to orchestrate multiple composite cloud applications using
|
||||
templates, through both an OpenStack-native ReST API and a
|
||||
CloudFormation-compatible Query API.
|
||||
.
|
||||
This package contains the ReST API.
|
||||
|
||||
Package: heat-api-cfn
|
||||
Architecture: all
|
||||
Pre-Depends: dpkg (>= 1.15.6~)
|
||||
Depends: ${ostack-lsb-base}, ${python:Depends}, ${misc:Depends}, heat-common (=${binary:Version}),
|
||||
adduser
|
||||
Description: service to orchestrate multiple composite cloud applications (CFN API)
|
||||
Heat is a service to orchestrate multiple composite cloud applications using
|
||||
templates, through both an OpenStack-native ReST API and a
|
||||
CloudFormation-compatible Query API.
|
||||
.
|
||||
This package contains the CFN API
|
||||
|
||||
Package: heat-api-cloudwatch
|
||||
Architecture: all
|
||||
Pre-Depends: dpkg (>= 1.15.6~)
|
||||
Depends: ${ostack-lsb-base}, ${python:Depends}, ${misc:Depends}, heat-common (=${binary:Version}),
|
||||
adduser
|
||||
Description: service to orchestrate multiple composite cloud applications (Cloudwatch API)
|
||||
Heat is a service to orchestrate multiple composite cloud applications using
|
||||
templates, through both an OpenStack-native ReST API and a
|
||||
CloudFormation-compatible Query API.
|
||||
.
|
||||
This package contains the cloudwatch API.
|
||||
|
||||
Package: heat-metadata
|
||||
Architecture: all
|
||||
Pre-Depends: dpkg (>= 1.15.6~)
|
||||
Depends: ${ostack-lsb-base}, ${python:Depends}, ${misc:Depends}, heat-common (=${binary:Version}),
|
||||
adduser
|
||||
Description: service to orchestrate multiple composite cloud applications (metadata API)
|
||||
Heat is a service to orchestrate multiple composite cloud applications using
|
||||
templates, through both an OpenStack-native ReST API and a
|
||||
CloudFormation-compatible Query API.
|
||||
.
|
||||
This package contains the metadata API.
|
|
@ -0,0 +1,47 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: heat
|
||||
Upstream-Contact:
|
||||
Source: https://github.com/openstack/heat
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2012 Thomas Goirand <zigo@debian.org>
|
||||
License: Apache-2
|
||||
|
||||
Files: *
|
||||
Copyright: Angus Salkeld <asalkeld@redhat.com>
|
||||
Zane Bitter <zbitter@redhat.com>
|
||||
Steven Hardy <shardy@redhat.com>
|
||||
Steven Dake <sdake@redhat.com>
|
||||
Jenkins <jenkins@review.openstack.org>
|
||||
Chris Alfonso <calfonso@redhat.com>
|
||||
Tomas Sedovic <tomas@sedovic.cz>
|
||||
Steve Baker <sbaker@redhat.com>
|
||||
Jeff Peeler <jpeeler@redhat.com>
|
||||
Ian Main <imain@redhat.com>
|
||||
Jenkins <jenkins@review.stackforge.org>
|
||||
Steve Baker <steve@stevebaker.org>
|
||||
Andrew Hutchings <andrew@linuxjedi.co.uk>
|
||||
Mark McLoughlin <markmc@redhat.com>
|
||||
Greg Blomquist <gblomqui@redhat.com>
|
||||
Eoghan Glynn <eglynn@redhat.com>
|
||||
root <root@zbitter.fedora>
|
||||
Monty Taylor <mordred@inaugust.com>
|
||||
Jesse Andrews <anotherjesse@gmail.com>
|
||||
Jeremy Stanley <fungi@yuggoth.org>
|
||||
License: Apache-2
|
||||
|
||||
License: Apache-2
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
.
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
.
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
.
|
||||
On Debian-based systems the full text of the Apache version 2.0 license
|
||||
can be found in `/usr/share/common-licenses/Apache-2.0'.
|
|
@ -0,0 +1 @@
|
|||
ostack-lsb-base= lsb-base
|
|
@ -0,0 +1,9 @@
|
|||
[DEFAULT]
|
||||
upstream-branch = master
|
||||
debian-branch = debian/experimental
|
||||
upstream-tag = %(version)s
|
||||
compression = xz
|
||||
|
||||
[git-buildpackage]
|
||||
export-dir = ../build-area/
|
||||
#cleaner = true
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
. /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} heat filter:authtoken
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,3 @@
|
|||
etc/heat/heat-api-cfn.conf
|
||||
etc/heat/heat-api-cfn-paste.ini /usr/share/heat-api-cfn
|
||||
usr/bin/heat-api-cfn
|
|
@ -0,0 +1,4 @@
|
|||
/var/log/heat/api-cfn.log {
|
||||
daily
|
||||
missingok
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
docs/man/man1/heat-api-cfn.1
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
ETC=/etc/heat
|
||||
|
||||
#PKGOS-INCLUDE#
|
||||
|
||||
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 heat filter:authtoken
|
||||
chown -R heat:adm /var/log/heat
|
||||
chmod 0750 /var/log/heat
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ "${1}" = "purge" ] ; then
|
||||
rm -f /etc/heat/heat-api-cfn-paste.ini
|
||||
rmdir --ignore-fail-on-non-empty /etc/heat
|
||||
rm -rf /var/log/heat/api-cfn*
|
||||
rmdir --ignore-fail-on-non-empty /var/log/heat
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,20 @@
|
|||
Template: heat-api-cfn/auth-host
|
||||
Type: string
|
||||
Default: 127.0.0.1
|
||||
_Description: Auth server hostname:
|
||||
Please specify the URL of your authentication server. Typically this is also
|
||||
the URL of your OpenStack Identity Service (Keystone).
|
||||
|
||||
Template: heat-api-cfn/admin-tenant-name
|
||||
Type: string
|
||||
Default: admin
|
||||
_Description: Auth server tenant name:
|
||||
|
||||
Template: heat-api-cfn/admin-user
|
||||
Type: string
|
||||
Default: admin
|
||||
_Description: Auth server username:
|
||||
|
||||
Template: heat-api-cfn/admin-password
|
||||
Type: password
|
||||
_Description: Auth server password:
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
. /usr/share/debconf/confmodule
|
||||
|
||||
APIPASTE_CONF=/etc/heat/heat-api-cloudwatch-paste.ini
|
||||
|
||||
#PKGOS-INCLUDE#
|
||||
|
||||
pkgos_var_user_group heat
|
||||
pkgos_read_admin_creds ${APIPASTE_CONF} heat filter:authtoken
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,87 @@
|
|||
#!/bin/sh
|
||||
### BEGIN INIT INFO
|
||||
# Provides: heat-api-cloudwatch
|
||||
# Required-Start: $network $local_fs $remote_fs $syslog
|
||||
# Required-Stop: $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Heat cloudwatch API
|
||||
# Description: Heat cloudwatch API server
|
||||
### END INIT INFO
|
||||
|
||||
# Author: Thomas Goirand <zigo@debian.or>
|
||||
|
||||
# PATH should only include /usr/* if it runs after the mountnfs.sh script
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC="Heat API"
|
||||
NAME=heat-api-cloudwatch
|
||||
DAEMON=/usr/bin/heat-api-cloudwatch
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
SCRIPTNAME=/etc/init.d/$NAME
|
||||
SYSTEM_USER=heat
|
||||
|
||||
# Exit if the package is not installed
|
||||
[ -x $DAEMON ] || exit 0
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
if [ ! -e /var/log/heat ] ; then
|
||||
mkdir -p /var/log/heat
|
||||
chown ${SYSTEM_USER} /var/log/heat
|
||||
fi
|
||||
|
||||
do_start () {
|
||||
start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null || return 1
|
||||
start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON || return 2
|
||||
}
|
||||
|
||||
do_stop () {
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE
|
||||
RETVAL="$?"
|
||||
rm -f $PIDFILE
|
||||
return "$RETVAL"
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
log_daemon_msg "Starting $DESC" "$NAME"
|
||||
do_start
|
||||
case "$?" in
|
||||
0|1) log_end_msg 0 ;;
|
||||
2) log_end_msg 1 ;;
|
||||
esac
|
||||
;;
|
||||
stop)
|
||||
log_daemon_msg "Stopping $DESC" "$NAME"
|
||||
do_stop
|
||||
case "$?" in
|
||||
0|1) log_end_msg 0 ;;
|
||||
2) log_end_msg 1 ;;
|
||||
esac
|
||||
;;
|
||||
status)
|
||||
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
|
||||
;;
|
||||
restart|force-reload)
|
||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||
do_stop
|
||||
case "$?" in
|
||||
0|1)
|
||||
do_start
|
||||
case "$?" in
|
||||
0) log_end_msg 0 ;;
|
||||
1) log_end_msg 1 ;; # Old process is still running
|
||||
*) log_end_msg 1 ;; # Failed to start
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
# Failed to stop
|
||||
log_end_msg 1
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
|
||||
exit 3
|
||||
;;
|
||||
esac
|
|
@ -0,0 +1,2 @@
|
|||
etc/heat/heat-api-cloudwatch.conf
|
||||
etc/heat/heat-api-cloudwatch-paste.ini /usr/share/heat-api-cloudwatch
|
|
@ -0,0 +1,4 @@
|
|||
/var/log/heat/api-cloudwatch.log {
|
||||
daily
|
||||
missingok
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
ETC=/etc/heat
|
||||
|
||||
#PKGOS-INCLUDE#
|
||||
|
||||
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 heat filter:authtoken
|
||||
chown -R heat:adm /var/log/heat
|
||||
chmod 0750 /var/log/heat
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ "${1}" = "purge" ] ; then
|
||||
rm -f /etc/heat/heat-api-cloudwatch-paste.ini
|
||||
rmdir --ignore-fail-on-non-empty /etc/heat
|
||||
rm -rf /var/log/heat/api-cloudwatch*
|
||||
rmdir --ignore-fail-on-non-empty /var/log/heat
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,20 @@
|
|||
Template: heat-api-cloudwatch/auth-host
|
||||
Type: string
|
||||
Default: 127.0.0.1
|
||||
_Description: Auth server hostname:
|
||||
Please specify the URL of your authentication server. Typically
|
||||
this is also the URL of your OpenStack Identity Service (Keystone).
|
||||
|
||||
Template: heat-api-cloudwatch/admin-tenant-name
|
||||
Type: string
|
||||
Default: admin
|
||||
_Description: Auth server tenant name:
|
||||
|
||||
Template: heat-api-cloudwatch/admin-user
|
||||
Type: string
|
||||
Default: admin
|
||||
_Description: Auth server username:
|
||||
|
||||
Template: heat-api-cloudwatch/admin-password
|
||||
Type: password
|
||||
_Description: Auth server password:
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
. /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} heat filter:authtoken
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,87 @@
|
|||
#!/bin/sh
|
||||
### BEGIN INIT INFO
|
||||
# Provides: heat-api
|
||||
# Required-Start: $network $local_fs $remote_fs $syslog
|
||||
# Required-Stop: $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Heat API
|
||||
# Description: Heat API server
|
||||
### END INIT INFO
|
||||
|
||||
# Author: Thomas Goirand <zigo@debian.or>
|
||||
|
||||
# PATH should only include /usr/* if it runs after the mountnfs.sh script
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC="Heat API"
|
||||
NAME=heat-api
|
||||
DAEMON=/usr/bin/heat-api
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
SCRIPTNAME=/etc/init.d/$NAME
|
||||
SYSTEM_USER=heat
|
||||
|
||||
# Exit if the package is not installed
|
||||
[ -x $DAEMON ] || exit 0
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
if [ ! -e /var/log/heat ] ; then
|
||||
mkdir -p /var/log/heat
|
||||
chown ${SYSTEM_USER} /var/log/heat
|
||||
fi
|
||||
|
||||
do_start () {
|
||||
start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null || return 1
|
||||
start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON || return 2
|
||||
}
|
||||
|
||||
do_stop () {
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE
|
||||
RETVAL="$?"
|
||||
rm -f $PIDFILE
|
||||
return "$RETVAL"
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
log_daemon_msg "Starting $DESC" "$NAME"
|
||||
do_start
|
||||
case "$?" in
|
||||
0|1) log_end_msg 0 ;;
|
||||
2) log_end_msg 1 ;;
|
||||
esac
|
||||
;;
|
||||
stop)
|
||||
log_daemon_msg "Stopping $DESC" "$NAME"
|
||||
do_stop
|
||||
case "$?" in
|
||||
0|1) log_end_msg 0 ;;
|
||||
2) log_end_msg 1 ;;
|
||||
esac
|
||||
;;
|
||||
status)
|
||||
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
|
||||
;;
|
||||
restart|force-reload)
|
||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||
do_stop
|
||||
case "$?" in
|
||||
0|1)
|
||||
do_start
|
||||
case "$?" in
|
||||
0) log_end_msg 0 ;;
|
||||
1) log_end_msg 1 ;; # Old process is still running
|
||||
*) log_end_msg 1 ;; # Failed to start
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
# Failed to stop
|
||||
log_end_msg 1
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
|
||||
exit 3
|
||||
;;
|
||||
esac
|
|
@ -0,0 +1,3 @@
|
|||
usr/bin/heat-api
|
||||
etc/heat/heat-api.conf
|
||||
etc/heat/heat-api-paste.ini /usr/share/heat-api
|
|
@ -0,0 +1,4 @@
|
|||
/var/log/heat/api.log {
|
||||
daily
|
||||
missingok
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
ETC=/etc/heat
|
||||
|
||||
#PKGOS-INCLUDE#
|
||||
|
||||
if [ "$1" = "configure" ] ; then
|
||||
. /usr/share/debconf/confmodule
|
||||
pkgos_var_user_group heat
|
||||
pkgos_write_new_conf heat heat-api-paste.ini
|
||||
pkgos_write_admin_creds /etc/heat/heat-api-paste.ini heat filter:authtoken
|
||||
chown -R heat:adm /var/log/heat
|
||||
chmod 0750 /var/log/heat
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ "${1}" = "purge" ] ; then
|
||||
rm -f /etc/heat/heat-api-paste.ini
|
||||
rmdir --ignore-fail-on-non-empty /etc/heat
|
||||
rm -rf /var/log/heat/api.*
|
||||
rmdir --ignore-fail-on-non-empty /var/log/heat
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,20 @@
|
|||
Template: heat-api/auth-host
|
||||
Type: string
|
||||
Default: 127.0.0.1
|
||||
_Description: Auth server hostname:
|
||||
Please specify the URL of your authentication server. Typically this is also
|
||||
the URL of your OpenStack Identity Service (Keystone).
|
||||
|
||||
Template: heat-api/admin-tenant-name
|
||||
Type: string
|
||||
Default: admin
|
||||
_Description: Auth server tenant name:
|
||||
|
||||
Template: heat-api/admin-user
|
||||
Type: string
|
||||
Default: admin
|
||||
_Description: Auth server username:
|
||||
|
||||
Template: heat-api/admin-password
|
||||
Type: password
|
||||
_Description: Auth server password:
|
|
@ -0,0 +1,5 @@
|
|||
/usr/bin/heat
|
||||
/usr/bin/heat-boto
|
||||
/usr/bin/heat-db-setup
|
||||
/usr/bin/heat-keystone-setup
|
||||
/usr/bin/heat-watch
|
|
@ -0,0 +1,3 @@
|
|||
docs/man/man1/heat.1
|
||||
docs/man/man1/heat-boto.1
|
||||
docs/man/man1/heat-db-setup.1
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
ETC=/etc/heat
|
||||
|
||||
#PKGOS-INCLUDE#
|
||||
|
||||
if [ "$1" = "configure" ] ; then
|
||||
pkgos_var_user_group heat
|
||||
chown -R heat:adm /var/log/heat
|
||||
chmod 0750 /var/log/heat
|
||||
chown heat:heat -R /var/lib/heat /etc/heat
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ "${1}" = "purge" ] ; then
|
||||
rmdir --ignore-fail-on-non-empty /etc/heat
|
||||
rm -rf /var/log/heat/engine*
|
||||
rmdir --ignore-fail-on-non-empty /var/log/heat
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
. /usr/share/debconf/confmodule
|
||||
|
||||
CONF=/etc/heat/heat-engine.conf
|
||||
|
||||
#PKGOS-INCLUDE#
|
||||
|
||||
pkgos_var_user_group heat
|
||||
pkgos_dbc_read_conf ${CONF} heat DEFAULT sql_connection $@
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,87 @@
|
|||
#!/bin/sh
|
||||
### BEGIN INIT INFO
|
||||
# Provides: heat-engine
|
||||
# Required-Start: $network $local_fs $remote_fs $syslog
|
||||
# Required-Stop: $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Heat Engine
|
||||
# Description: Heat Engine server
|
||||
### END INIT INFO
|
||||
|
||||
# Author: Thomas Goirand <zigo@debian.or>
|
||||
|
||||
# PATH should only include /usr/* if it runs after the mountnfs.sh script
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC="Heat Engine"
|
||||
NAME=heat-engine
|
||||
DAEMON=/usr/bin/heat-engine
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
SCRIPTNAME=/etc/init.d/$NAME
|
||||
SYSTEM_USER=heat
|
||||
|
||||
# Exit if the package is not installed
|
||||
[ -x $DAEMON ] || exit 0
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
if [ ! -e /var/log/heat ] ; then
|
||||
mkdir -p /var/log/heat
|
||||
chown ${SYSTEM_USER} /var/log/heat
|
||||
fi
|
||||
|
||||
do_start () {
|
||||
start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null || return 1
|
||||
start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON || return 2
|
||||
}
|
||||
|
||||
do_stop () {
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE
|
||||
RETVAL="$?"
|
||||
rm -f $PIDFILE
|
||||
return "$RETVAL"
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
log_daemon_msg "Starting $DESC" "$NAME"
|
||||
do_start
|
||||
case "$?" in
|
||||
0|1) log_end_msg 0 ;;
|
||||
2) log_end_msg 1 ;;
|
||||
esac
|
||||
;;
|
||||
stop)
|
||||
log_daemon_msg "Stopping $DESC" "$NAME"
|
||||
do_stop
|
||||
case "$?" in
|
||||
0|1) log_end_msg 0 ;;
|
||||
2) log_end_msg 1 ;;
|
||||
esac
|
||||
;;
|
||||
status)
|
||||
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
|
||||
;;
|
||||
restart|force-reload)
|
||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||
do_stop
|
||||
case "$?" in
|
||||
0|1)
|
||||
do_start
|
||||
case "$?" in
|
||||
0) log_end_msg 0 ;;
|
||||
1) log_end_msg 1 ;; # Old process is still running
|
||||
*) log_end_msg 1 ;; # Failed to start
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
# Failed to stop
|
||||
log_end_msg 1
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
|
||||
exit 3
|
||||
;;
|
||||
esac
|
|
@ -0,0 +1,2 @@
|
|||
etc/heat/heat-engine.conf /usr/share/heat-engine
|
||||
usr/bin/heat-engine
|
|
@ -0,0 +1,4 @@
|
|||
/var/log/heat/engine.log {
|
||||
daily
|
||||
missingok
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
docs/man/man1/heat-engine.1
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
CONF=/etc/heat/heat-engine.conf
|
||||
|
||||
#PKGOS-INCLUDE#
|
||||
|
||||
if [ "$1" = "configure" ] ; then
|
||||
. /usr/share/debconf/confmodule
|
||||
. /usr/share/dbconfig-common/dpkg/postinst
|
||||
|
||||
pkgos_var_user_group heat
|
||||
pkgos_write_new_conf heat heat-engine.conf
|
||||
pkgos_dbc_postinst ${CONF} heat DEFAULT sql_connection $@
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ "${1}" = "purge" ] ; then
|
||||
rm -f /etc/heat/heat-engine.conf
|
||||
rmdir --ignore-fail-on-non-empty /etc/heat
|
||||
rm -rf /var/log/heat/engine*
|
||||
rmdir --ignore-fail-on-non-empty /var/log/heat
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,17 @@
|
|||
Template: heat-engine/configure_db
|
||||
Type: boolean
|
||||
Default: true
|
||||
_Description: Set up a database for heat-engine?
|
||||
No database has been set up for heat-engine to use. Before continuing, you
|
||||
should make sure you have:
|
||||
.
|
||||
- the server host name (that server must allow TCP connections from this
|
||||
machine);
|
||||
- a username and password to access the database.
|
||||
- A database type that you want to use.
|
||||
.
|
||||
If some of these requirements are missing, reject this option and run with
|
||||
regular sqlite support.
|
||||
.
|
||||
You can change this setting later on by running 'dpkg-reconfigure -plow
|
||||
heat-engine'.
|
|
@ -0,0 +1,87 @@
|
|||
#!/bin/sh
|
||||
### BEGIN INIT INFO
|
||||
# Provides: heat-metadata
|
||||
# Required-Start: $network $local_fs $remote_fs $syslog
|
||||
# Required-Stop: $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Heat metadata
|
||||
# Description: Heat metadata server
|
||||
### END INIT INFO
|
||||
|
||||
# Author: Thomas Goirand <zigo@debian.or>
|
||||
|
||||
# PATH should only include /usr/* if it runs after the mountnfs.sh script
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC="Heat metadata"
|
||||
NAME=heat-metadata
|
||||
DAEMON=/usr/bin/heat-metadata
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
SCRIPTNAME=/etc/init.d/$NAME
|
||||
SYSTEM_USER=heat
|
||||
|
||||
# Exit if the package is not installed
|
||||
[ -x $DAEMON ] || exit 0
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
if [ ! -e /var/log/heat ] ; then
|
||||
mkdir -p /var/log/heat
|
||||
chown ${SYSTEM_USER} /var/log/heat
|
||||
fi
|
||||
|
||||
do_start () {
|
||||
start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null || return 1
|
||||
start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON || return 2
|
||||
}
|
||||
|
||||
do_stop () {
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE
|
||||
RETVAL="$?"
|
||||
rm -f $PIDFILE
|
||||
return "$RETVAL"
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
log_daemon_msg "Starting $DESC" "$NAME"
|
||||
do_start
|
||||
case "$?" in
|
||||
0|1) log_end_msg 0 ;;
|
||||
2) log_end_msg 1 ;;
|
||||
esac
|
||||
;;
|
||||
stop)
|
||||
log_daemon_msg "Stopping $DESC" "$NAME"
|
||||
do_stop
|
||||
case "$?" in
|
||||
0|1) log_end_msg 0 ;;
|
||||
2) log_end_msg 1 ;;
|
||||
esac
|
||||
;;
|
||||
status)
|
||||
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
|
||||
;;
|
||||
restart|force-reload)
|
||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||
do_stop
|
||||
case "$?" in
|
||||
0|1)
|
||||
do_start
|
||||
case "$?" in
|
||||
0) log_end_msg 0 ;;
|
||||
1) log_end_msg 1 ;; # Old process is still running
|
||||
*) log_end_msg 1 ;; # Failed to start
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
# Failed to stop
|
||||
log_end_msg 1
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
|
||||
exit 3
|
||||
;;
|
||||
esac
|
|
@ -0,0 +1,3 @@
|
|||
etc/heat/heat-metadata.conf
|
||||
etc/heat/heat-metadata-paste.ini
|
||||
usr/bin/heat-metadata
|
|
@ -0,0 +1,4 @@
|
|||
/var/log/heat/metadata.log {
|
||||
daily
|
||||
missingok
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
docs/man/man1/heat-metadata.1
|
|
@ -0,0 +1,4 @@
|
|||
[type: gettext/rfc822deb] heat-engine.templates
|
||||
[type: gettext/rfc822deb] heat-api-cfn.templates
|
||||
[type: gettext/rfc822deb] heat-api-cloudwatch.templates
|
||||
[type: gettext/rfc822deb] heat-api.templates
|
|
@ -0,0 +1,95 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: heat\n"
|
||||
"Report-Msgid-Bugs-To: heat@packages.debian.org\n"
|
||||
"POT-Creation-Date: 2012-12-07 07:50+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../heat-engine.templates:1001
|
||||
msgid "Set up a database for heat-engine?"
|
||||
msgstr ""
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../heat-engine.templates:1001
|
||||
msgid ""
|
||||
"No database has been set up for heat-engine to use. Before continuing, you "
|
||||
"should make sure you have:"
|
||||
msgstr ""
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../heat-engine.templates:1001
|
||||
msgid ""
|
||||
" - the server host name (that server must allow TCP connections from this\n"
|
||||
" machine);\n"
|
||||
" - a username and password to access the database.\n"
|
||||
" - A database type that you want to use."
|
||||
msgstr ""
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../heat-engine.templates:1001
|
||||
msgid ""
|
||||
"If some of these requirements are missing, reject this option and run with "
|
||||
"regular sqlite support."
|
||||
msgstr ""
|
||||
|
||||
#. Type: boolean
|
||||
#. Description
|
||||
#: ../heat-engine.templates:1001
|
||||
msgid ""
|
||||
"You can change this setting later on by running 'dpkg-reconfigure -plow "
|
||||
"heat-engine'."
|
||||
msgstr ""
|
||||
|
||||
#. Type: string
|
||||
#. Description
|
||||
#: ../heat-api-cfn.templates:1001 ../heat-api-cloudwatch.templates:1001
|
||||
#: ../heat-api.templates:1001
|
||||
msgid "Auth server hostname:"
|
||||
msgstr ""
|
||||
|
||||
#. Type: string
|
||||
#. Description
|
||||
#: ../heat-api-cfn.templates:1001 ../heat-api-cloudwatch.templates:1001
|
||||
#: ../heat-api.templates:1001
|
||||
msgid ""
|
||||
"Please specify the URL of your authentication server. Typically this is also "
|
||||
"the URL of your OpenStack Identity Service (Keystone)."
|
||||
msgstr ""
|
||||
|
||||
#. Type: string
|
||||
#. Description
|
||||
#: ../heat-api-cfn.templates:2001 ../heat-api-cloudwatch.templates:2001
|
||||
#: ../heat-api.templates:2001
|
||||
msgid "Auth server tenant name:"
|
||||
msgstr ""
|
||||
|
||||
#. Type: string
|
||||
#. Description
|
||||
#: ../heat-api-cfn.templates:3001 ../heat-api-cloudwatch.templates:3001
|
||||
#: ../heat-api.templates:3001
|
||||
msgid "Auth server username:"
|
||||
msgstr ""
|
||||
|
||||
#. Type: password
|
||||
#. Description
|
||||
#: ../heat-api-cfn.templates:4001 ../heat-api-cloudwatch.templates:4001
|
||||
#: ../heat-api.templates:4001
|
||||
msgid "Auth server password:"
|
||||
msgstr ""
|
|
@ -0,0 +1 @@
|
|||
usr/lib/python*/dist-packages/*
|
|
@ -0,0 +1,44 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
include /usr/share/openstack-pkg-tools/pkgos.make
|
||||
|
||||
%:
|
||||
dh $@ --with python2
|
||||
|
||||
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
||||
override_dh_auto_test:
|
||||
./run_tests.sh -N -P || true
|
||||
endif
|
||||
|
||||
override_dh_clean:
|
||||
dh_clean
|
||||
rm -rf heat.egg-info
|
||||
find . -iname '*.pyc' -delete
|
||||
rm -f \
|
||||
debian/heat-api-cfn.config \
|
||||
debian/heat-api-cfn.postinst \
|
||||
debian/heat-api-cloudwatch.config \
|
||||
debian/heat-api-cloudwatch.postinst \
|
||||
debian/heat-api.config \
|
||||
debian/heat-api.postinst \
|
||||
debian/heat-common.postinst \
|
||||
debian/heat-engine.config \
|
||||
debian/heat-engine.postinst
|
||||
|
||||
#override_dh_install:
|
||||
# dh_install
|
||||
|
||||
override_dh_auto_build:
|
||||
dh_auto_build
|
||||
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-common.postinst
|
||||
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-api-cfn.config
|
||||
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-api-cfn.postinst
|
||||
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-api-cloudwatch.config
|
||||
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-api-cloudwatch.postinst
|
||||
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-api.config
|
||||
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-api.postinst
|
||||
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-common.postinst
|
||||
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-engine.config
|
||||
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-engine.postinst
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,2 @@
|
|||
version=3
|
||||
https://github.com/openstack/heat/tags .*/(\d[\d\.]+)\.tar\.gz
|
Loading…
Reference in New Issue