Codebase list glance / 822ca2c
Add Glance Glare package. Ivan Udovichenko 8 years ago
6 changed file(s) with 40 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
216216 .
217217 This package contains the Glance API server.
218218
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
219237 Package: glance-registry
220238 Architecture: all
221239 Depends: adduser,
00 etc/glance-api-paste.ini usr/share/glance-common
1 etc/glance-glare-paste.ini usr/share/glance-common
12 etc/glance-registry-paste.ini usr/share/glance-common
23 etc/policy.json usr/share/glance-common
34 etc/schema-image.json usr/share/glance-common
45 usr/bin/glance-control
56 usr/bin/glance-manage
6 usr/bin/glance-glare
77 usr/etc/glance/metadefs usr/share/glance-common
3636 pkgos_write_new_conf glance glance-scrubber.conf
3737
3838 pkgos_write_new_conf glance glance-api-paste.ini
39 pkgos_write_new_conf glance glance-glare-paste.ini
3940 pkgos_write_new_conf glance glance-registry-paste.ini
4041 pkgos_write_new_conf glance policy.json
4142 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
0 usr/bin/glance-glare
6868 pkgos-fix-config-default $(CURDIR)/debian/glance-common/usr/share/glance-common/glance-api.conf keystone_authtoken auth_protocol http
6969 pkgos-fix-config-default $(CURDIR)/debian/glance-common/usr/share/glance-common/glance-api.conf glance_store filesystem_store_datadir /var/lib/glance/images
7070 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
7272 sed -i 's|^[ \t#]*workers[ \t]*=[ \t].*|#workers = 2|' $(CURDIR)/debian/glance-common/usr/share/glance-common/glance-api.conf
7373
7474 PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python2.7/dist-packages oslo-config-generator \
115115 --namespace oslo.log \
116116 --namespace oslo.policy
117117 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
118119 install -D -m 0664 etc/property-protections-policies.conf.sample $(CURDIR)/debian/glance-common/usr/share/glance-common/property-protections-policies.conf
119120 install -D -m 0664 etc/property-protections-roles.conf.sample $(CURDIR)/debian/glance-common/usr/share/glance-common/property-protections-roles.conf
120121