summaryrefslogtreecommitdiff
path: root/strata
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-05-29 12:07:22 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-06-04 13:50:39 +0000
commit6af95c43d601223e1d589cdae1ffda7acb7e60ad (patch)
tree197fb781d85446fd633cb71c27fa28bd7edc8b9f /strata
parentfe422c395e0819f11a0341ebba3250228e9f99b5 (diff)
downloaddefinitions-6af95c43d601223e1d589cdae1ffda7acb7e60ad.tar.gz
Cinder: Update the cinder.conf with kilo example
Generated with: ./tools/config/generate_sample.sh -b . -p cinder -o etc/cinder Also install some generic configuration files at build time, and remove them from the manifest.
Diffstat (limited to 'strata')
-rw-r--r--strata/openstack-services/cinder.morph5
1 files changed, 4 insertions, 1 deletions
diff --git a/strata/openstack-services/cinder.morph b/strata/openstack-services/cinder.morph
index cd680b09..a0fc879f 100644
--- a/strata/openstack-services/cinder.morph
+++ b/strata/openstack-services/cinder.morph
@@ -2,7 +2,10 @@ name: cinder
kind: chunk
build-system: python-distutils
post-install-commands:
-# Install rootwrap.conf
+# Install some default configuration files
+- install -D -m 644 etc/cinder/logging_sample.conf "$DESTDIR"/etc/cinder/logging.conf
+- install -D -m 644 etc/cinder/api-paste.ini "$DESTDIR"/etc/cinder/api-paste.ini
+- install -D -m 644 etc/cinder/policy.json "$DESTDIR"/etc/cinder/policy.json
- install -D -m 640 etc/cinder/rootwrap.conf "$DESTDIR"/etc/cinder/rootwrap.conf
# Move rootwrap files to a proper location
- mkdir -p "$DESTDIR"/etc/cinder/rootwrap.d