diff options
Diffstat (limited to 'strata/openstack-services/cinder.morph')
-rw-r--r-- | strata/openstack-services/cinder.morph | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/strata/openstack-services/cinder.morph b/strata/openstack-services/cinder.morph deleted file mode 100644 index a0fc879f..00000000 --- a/strata/openstack-services/cinder.morph +++ /dev/null @@ -1,21 +0,0 @@ -name: cinder -kind: chunk -build-system: python-distutils -post-install-commands: -# 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 -- install -D -m 644 etc/cinder/rootwrap.d/* "$DESTDIR"/etc/cinder/rootwrap.d/ -# Add cinder 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/cinder-rootwrap - Defaults:cinder !requiretty - - cinder ALL=(root) NOPASSWD: /usr/bin/cinder-rootwrap /etc/cinder/rootwrap.conf * - EOF |