summaryrefslogtreecommitdiff
path: root/unmaintained/strata/openstack-services/nova.morph
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/strata/openstack-services/nova.morph')
-rw-r--r--unmaintained/strata/openstack-services/nova.morph24
1 files changed, 0 insertions, 24 deletions
diff --git a/unmaintained/strata/openstack-services/nova.morph b/unmaintained/strata/openstack-services/nova.morph
deleted file mode 100644
index e5a87daf..00000000
--- a/unmaintained/strata/openstack-services/nova.morph
+++ /dev/null
@@ -1,24 +0,0 @@
-name: nova
-kind: chunk
-build-system: python-distutils
-post-install-commands:
-# Install some default configuration files
-- mkdir -p "$DESTDIR"/etc/nova
-- install -m 644 etc/nova/api-paste.ini "$DESTDIR"/etc/nova/
-- install -m 644 etc/nova/cells.json "$DESTDIR"/etc/nova/
-- install -m 644 etc/nova/logging_sample.conf "$DESTDIR"/etc/nova/logging.conf
-- install -m 644 etc/nova/policy.json "$DESTDIR"/etc/nova/
-# Install rootwrap.conf
-- install -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 -m 644 etc/nova/rootwrap.d/* "$DESTDIR"/etc/nova/rootwrap.d/
-# Add nova to sudoers controlling which commands will run as a root
-# using the openstack rootwrap.
-- mkdir -p "$DESTDIR"/etc/sudoers.d
-- |
- install -D -m 0440 /proc/self/fd/0 <<'EOF' "$DESTDIR"/etc/sudoers.d/nova-rootwrap
- Defaults:nova !requiretty
-
- nova ALL=(root) NOPASSWD: /usr/bin/nova-rootwrap /etc/nova/rootwrap.conf *
- EOF