Add Glance Glare package.
Ivan Udovichenko
8 years ago
216 | 216 |
.
|
217 | 217 |
This package contains the Glance API server.
|
218 | 218 |
|
|
219 |
Package: glance-glare
|
|
220 |
Architecture: all
|
|
221 |
Depends: adduser,
|
|
222 |
glance-common (= ${source:Version}),
|
|
223 |
python-openstackclient (>= 2.1.0),
|
|
224 |
${misc:Depends},
|
|
225 |
${ostack-lsb-base},
|
|
226 |
${python:Depends},
|
|
227 |
Recommends: python-glanceclient
|
|
228 |
Suggests: q-text-as-data
|
|
229 |
Description: OpenStack Artifacts - API server
|
|
230 |
The Glance project provides services for discovering, registering, and
|
|
231 |
retrieving virtual machine images over the cloud. They may be stand-alone
|
|
232 |
services, or may be used to deliver images from object stores, such as
|
|
233 |
OpenStack's Swift service, to Nova's compute nodes.
|
|
234 |
.
|
|
235 |
This package contains the Glance Glare artifacts API server.
|
|
236 |
|
219 | 237 |
Package: glance-registry
|
220 | 238 |
Architecture: all
|
221 | 239 |
Depends: adduser,
|
0 | 0 |
etc/glance-api-paste.ini usr/share/glance-common
|
|
1 |
etc/glance-glare-paste.ini usr/share/glance-common
|
1 | 2 |
etc/glance-registry-paste.ini usr/share/glance-common
|
2 | 3 |
etc/policy.json usr/share/glance-common
|
3 | 4 |
etc/schema-image.json usr/share/glance-common
|
4 | 5 |
usr/bin/glance-control
|
5 | 6 |
usr/bin/glance-manage
|
6 | |
usr/bin/glance-glare
|
7 | 7 |
usr/etc/glance/metadefs usr/share/glance-common
|
36 | 36 |
pkgos_write_new_conf glance glance-scrubber.conf
|
37 | 37 |
|
38 | 38 |
pkgos_write_new_conf glance glance-api-paste.ini
|
|
39 |
pkgos_write_new_conf glance glance-glare-paste.ini
|
39 | 40 |
pkgos_write_new_conf glance glance-registry-paste.ini
|
40 | 41 |
pkgos_write_new_conf glance policy.json
|
41 | 42 |
pkgos_write_new_conf glance schema-image.json
|
|
0 |
#!/bin/sh
|
|
1 |
### BEGIN INIT INFO
|
|
2 |
# Provides: glance-glare
|
|
3 |
# Required-Start: $network $local_fs $remote_fs $syslog
|
|
4 |
# Required-Stop: $remote_fs
|
|
5 |
# Should-Start: postgresql mysql keystone ntp rabbitmq-server
|
|
6 |
# Should-Stop: postgresql mysql keystone ntp rabbitmq-server
|
|
7 |
# Default-Start: 2 3 4 5
|
|
8 |
# Default-Stop: 0 1 6
|
|
9 |
# Short-Description: Glance Glare API server
|
|
10 |
# Description: Frontend Glance Glare API server
|
|
11 |
### END INIT INFO
|
|
12 |
|
|
13 |
DESC="OpenStack Image Service API"
|
|
14 |
PROJECT_NAME=glance
|
|
15 |
NAME=${PROJECT_NAME}-glare
|
|
16 |
CONFIG_FILE=/etc/${PROJECT_NAME}/glance-glare.conf
|
68 | 68 |
pkgos-fix-config-default $(CURDIR)/debian/glance-common/usr/share/glance-common/glance-api.conf keystone_authtoken auth_protocol http
|
69 | 69 |
pkgos-fix-config-default $(CURDIR)/debian/glance-common/usr/share/glance-common/glance-api.conf glance_store filesystem_store_datadir /var/lib/glance/images
|
70 | 70 |
pkgos-fix-config-default $(CURDIR)/debian/glance-common/usr/share/glance-common/glance-api.conf oslo_concurrency lock_path /var/lock/glance
|
71 | |
# Do not percist build time CPU numbres. See https://bugs.debian.org/807475
|
|
71 |
# Do not persist build time CPU numbers. See https://bugs.debian.org/807475
|
72 | 72 |
sed -i 's|^[ \t#]*workers[ \t]*=[ \t].*|#workers = 2|' $(CURDIR)/debian/glance-common/usr/share/glance-common/glance-api.conf
|
73 | 73 |
|
74 | 74 |
PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python2.7/dist-packages oslo-config-generator \
|
|
115 | 115 |
--namespace oslo.log \
|
116 | 116 |
--namespace oslo.policy
|
117 | 117 |
install -D -m 0664 etc/glance-swift.conf.sample $(CURDIR)/debian/glance-common/usr/share/glance-common/glance-swift.conf
|
|
118 |
install -D -m 0664 etc/ovf-metadata.json.sample $(CURDIR)/debian/glance-common/usr/share/glance-common/ovf-metadata.json
|
118 | 119 |
install -D -m 0664 etc/property-protections-policies.conf.sample $(CURDIR)/debian/glance-common/usr/share/glance-common/property-protections-policies.conf
|
119 | 120 |
install -D -m 0664 etc/property-protections-roles.conf.sample $(CURDIR)/debian/glance-common/usr/share/glance-common/property-protections-roles.conf
|
120 | 121 |
|