From bfe523b5328d9fdccefb29b685d396e3de7427e2 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Mon, 18 May 2015 14:51:08 +0000 Subject: 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 Signed-off-by: Patrick Darley Signed-off-by: Tiago Gomes Change-Id: Id26886aaaa9edd8509412615a65e681d5c8117ed --- strata/openstack-services/keystone.morph | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 strata/openstack-services/keystone.morph (limited to 'strata/openstack-services/keystone.morph') diff --git a/strata/openstack-services/keystone.morph b/strata/openstack-services/keystone.morph new file mode 100644 index 00000000..836b5d47 --- /dev/null +++ b/strata/openstack-services/keystone.morph @@ -0,0 +1,9 @@ +name: keystone +kind: chunk +build-system: python-distutils +post-install-commands: +# Install some default configuration files +- mkdir -p "$DESTDIR"/etc/keystone +- install -m 644 etc/keystone-paste.ini "$DESTDIR"/etc/keystone/ +- install -m 644 etc/policy.json "$DESTDIR"/etc/keystone/ +- install -m 644 etc/logging.conf.sample "$DESTDIR"/etc/keystone/logging.conf -- cgit v1.2.1