diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-05-19 10:56:49 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-05-21 14:10:39 +0000 |
commit | d928a477c463b4e450a8b4c485ab2c7201666ea1 (patch) | |
tree | adfe4f46f2bfe3e7db6e07ebbaf6d4b496adc7f1 /strata | |
parent | 887619269afd8da241daf145996327ca7e7d0dec (diff) | |
download | definitions-d928a477c463b4e450a8b4c485ab2c7201666ea1.tar.gz |
OpenStack: Install default configuration for nova
Change-Id: I8d80f0d554c5ab7b0f71a41aee767521928b8444
Diffstat (limited to 'strata')
-rw-r--r-- | strata/openstack-services/nova.morph | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/strata/openstack-services/nova.morph b/strata/openstack-services/nova.morph index bb6dd756..e5a87daf 100644 --- a/strata/openstack-services/nova.morph +++ b/strata/openstack-services/nova.morph @@ -2,11 +2,17 @@ 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 -D -m 640 etc/nova/rootwrap.conf "$DESTDIR"/etc/nova/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 -D -m 644 etc/nova/rootwrap.d/* "$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 |