summaryrefslogtreecommitdiff
path: root/strata/openstack-services/nova.morph
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-16 16:13:27 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2015-03-23 22:58:54 +0000
commit625f44ec72e0963858c1a4f9959a7fdfa25a1f3c (patch)
treeebbb55db0bea6cff8d37b2dbcd3e2ebb095e7f67 /strata/openstack-services/nova.morph
parent68dfc7748eb30ede98ae0c7cd397a00699ddad46 (diff)
downloaddefinitions-625f44ec72e0963858c1a4f9959a7fdfa25a1f3c.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/nova.morph')
-rw-r--r--strata/openstack-services/nova.morph9
1 files changed, 9 insertions, 0 deletions
diff --git a/strata/openstack-services/nova.morph b/strata/openstack-services/nova.morph
new file mode 100644
index 00000000..4bf15bc7
--- /dev/null
+++ b/strata/openstack-services/nova.morph
@@ -0,0 +1,9 @@
+name: nova
+kind: chunk
+build-system: python-distutils
+post-install-commands:
+# Install rootwrap.conf
+- install -D -m 640 etc/nova/rootwrap.conf "$DESTDIR"/etc/nova/rootwrap.conf
+# Move rootwrap files to a proper location
+- mkdir -p "$DESTDIR"/etc/nova/rootwrap.d
+- install -D -m 644 etc/nova/rootwrap.d/* "$DESTDIR"/etc/nova/rootwrap.d/