summaryrefslogtreecommitdiff
path: root/strata/openstack-services/neutron.morph
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-16 16:13:27 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-03-04 11:34:05 +0000
commitadd8c1d29c22fd91c0f12693d55d043adc2525be (patch)
tree216fc6ef3ace5b8b01e45da9866596ad9f152676 /strata/openstack-services/neutron.morph
parent5e16ad046645957a954205029b2b69249f5f003c (diff)
downloaddefinitions-add8c1d29c22fd91c0f12693d55d043adc2525be.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/neutron.morph')
-rw-r--r--strata/openstack-services/neutron.morph8
1 files changed, 8 insertions, 0 deletions
diff --git a/strata/openstack-services/neutron.morph b/strata/openstack-services/neutron.morph
new file mode 100644
index 00000000..1de5678b
--- /dev/null
+++ b/strata/openstack-services/neutron.morph
@@ -0,0 +1,8 @@
+name: neutron
+kind: chunk
+build-system: python-distutils
+post-install-commands:
+# Move rootwrap files to a proper location
+- mkdir -p "$DESTDIR"/etc/neutron
+- mv "$DESTDIR$PREFIX"/etc/neutron/rootwrap.d "$DESTDIR"/etc/neutron/
+- mv "$DESTDIR$PREFIX"/etc/neutron/rootwrap.conf "$DESTDIR"/etc/neutron/