diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-05-18 14:51:08 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-06-11 17:04:29 +0000 |
commit | bfe523b5328d9fdccefb29b685d396e3de7427e2 (patch) | |
tree | fec786e8bfe8a8d9fe4660c5a8b7a7482dc53965 /strata/openstack-services/nova.morph | |
parent | e267a5c31bbc570b15d8efd767a5e3d6379fe803 (diff) | |
download | definitions-bfe523b5328d9fdccefb29b685d396e3de7427e2.tar.gz |
OpenStack: Install default configuration files
Add the default configuration files for Keystone, Nova,
Neutron, Glance, Cinder, Swift, Ceilometer, Ironic and Tempest.
Also install configuration files which will are not going to be modified
in the following commit, in the post-install-commands for the chunk; as
opposite to having them laying around in the repo and installing them
with the install-files configuration extension.
Note:
- Some configuration files have been created using commands given in
their documentations or they .conf.sample files.
- To generate cinder.conf use the following command on the top of the
cinder repository:
./tools/config/generate_sample.sh -b . -p cinder -o etc/cinder
- Nova.conf has been taken from:
http://pkgs.fedoraproject.org/cgit/openstack-nova.git/tree/nova.conf.sample
commit 69755b4a072edff0957ee256290395600edbab9e
- tempest.conf has been taken from the tag version '4'.
Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>
Signed-off-by: Patrick Darley <patrick.darley@codethink.co.uk>
Signed-off-by: Tiago Gomes <tiago.gomes@codethink.co.uk>
Change-Id: Id26886aaaa9edd8509412615a65e681d5c8117ed
Diffstat (limited to 'strata/openstack-services/nova.morph')
-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 |