diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-02-16 16:13:27 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-02-26 17:55:09 +0000 |
commit | d79fb6e412506e6aadcedff3cef67b76b0db97e1 (patch) | |
tree | a864f36b0fe36f236c72186af7d15e0d9acd7e67 /strata/openstack-services/cinder.morph | |
parent | 1b36720a9f75abd89865bd9dca86cf9e9d424cb4 (diff) | |
download | definitions-d79fb6e412506e6aadcedff3cef67b76b0db97e1.tar.gz |
Install rootwrap filters on post-install time
Installing rootwrap filters from their repositories will
make easy to deal with updates. Also move neutron rootwrap
filters to the right location without duplication.
Diffstat (limited to 'strata/openstack-services/cinder.morph')
-rw-r--r-- | strata/openstack-services/cinder.morph | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/strata/openstack-services/cinder.morph b/strata/openstack-services/cinder.morph new file mode 100644 index 00000000..bfc31026 --- /dev/null +++ b/strata/openstack-services/cinder.morph @@ -0,0 +1,9 @@ +name: cinder +kind: chunk +build-system: python-distutils +post-install-commands: +# Install rootwrap.conf +- 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 +- install -D -m 644 etc/cinder/rootwrap.d/* "$DESTDIR"/etc/cinder/rootwrap.d/ |