summaryrefslogtreecommitdiff
path: root/strata/openstack-services/glance.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/openstack-services/glance.morph')
-rw-r--r--strata/openstack-services/glance.morph10
1 files changed, 10 insertions, 0 deletions
diff --git a/strata/openstack-services/glance.morph b/strata/openstack-services/glance.morph
new file mode 100644
index 00000000..d9e548f2
--- /dev/null
+++ b/strata/openstack-services/glance.morph
@@ -0,0 +1,10 @@
+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/policy.json "$DESTDIR"/etc/glance/
+- install -m 644 etc/schema-image.json "$DESTDIR"/etc/glance