summaryrefslogtreecommitdiff
path: root/strata/openstack-services/glance.morph
blob: 3f81a505d835a2058d9afbb1a09de9607c8694d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: glance
kind: chunk
build-system: python-distutils
post-install-commands:
# Install some default configuration files
- mkdir -p "$DESTDIR"/etc/glance
- install -m 644 etc/glance-api-paste.ini "$DESTDIR"/etc/glance/
- install -m 644 etc/glance-registry-paste.ini "$DESTDIR"/etc/glance/
- install -m 644 etc/glance-search-paste.ini "$DESTDIR"/etc/glance/
- install -m 644 etc/policy.json "$DESTDIR"/etc/glance/
- install -m 644 etc/schema-image.json "$DESTDIR"/etc/glance/
- install -m 644 etc/search-policy.json "$DESTDIR"/etc/glance/
# Install predefined namespaces for Glance Metadata Definitions
# Catalog (see more info in its README)
- cp -r etc/metadefs "$DESTDIR"/etc/glance/
# Install conf files which are not modified by
- install -m 644 etc/glance-scrubber.conf "$DESTDIR"/etc/glance/
- install -m 644 etc/glance-cache.conf "$DESTDIR"/etc/glance/
- install -m 644 etc/glance-search.conf "$DESTDIR"/etc/glance/
- |
  install -m 644 etc/glance-swift.conf.sample \
                 "$DESTDIR"/etc/glance/glance-swift.conf
- install -m 644 etc/glance-manage.conf "$DESTDIR"/etc/glance/
- |
  install -m 644 etc/property-protections-policies.conf.sample \
                 "$DESTDIR"/etc/glance/property-protections-policies.conf
- |
  install -m 644 etc/property-protections-roles.conf.sample \
                 "$DESTDIR"/etc/glance/property-protections-roles.conf