diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-05-19 13:23:29 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-05-21 15:30:18 +0000 |
commit | bc1d32916d290a908766f9ccaecd70bb2dcd0941 (patch) | |
tree | ee1bdff2b44e9bcf52a158acaf54812f9e28ec34 /strata/openstack-services/glance.morph | |
parent | d928a477c463b4e450a8b4c485ab2c7201666ea1 (diff) | |
download | definitions-bc1d32916d290a908766f9ccaecd70bb2dcd0941.tar.gz |
OpenStack: Install default configuration for glance
Change-Id: If4f38bddc997f841ff50394dff3d9cf450d0f8a8
Diffstat (limited to 'strata/openstack-services/glance.morph')
-rw-r--r-- | strata/openstack-services/glance.morph | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/strata/openstack-services/glance.morph b/strata/openstack-services/glance.morph new file mode 100644 index 00000000..3f81a505 --- /dev/null +++ b/strata/openstack-services/glance.morph @@ -0,0 +1,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 |