diff options
author | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-04-27 15:31:58 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-05-08 09:56:08 +0000 |
commit | cf991b0e46cdc7f81895e4f14106d1d4071c9a4e (patch) | |
tree | b9fa3fc8a857c3be9e8b8319acb37851e4939078 /openstack-keystone.configure | |
parent | 8f96be4bd3b9d9f8546b23bc43b51e5cdaaddf38 (diff) | |
download | definitions-cf991b0e46cdc7f81895e4f14106d1d4071c9a4e.tar.gz |
openstack: add missing ConditionPathExists
And fix some existing as well. Generate a separate postgres.conf file
so that we don't have to reference keystone on the postgres setup
systemd unit and Ansible script.
Change-Id: I0bb4428b7e88a508a37d1d43ddcd266369b05cd2
Diffstat (limited to 'openstack-keystone.configure')
-rw-r--r-- | openstack-keystone.configure | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openstack-keystone.configure b/openstack-keystone.configure index 2a3cc0f7..6b011b14 100644 --- a/openstack-keystone.configure +++ b/openstack-keystone.configure @@ -111,3 +111,13 @@ keystone_configuration={ yaml.dump(keystone_configuration, sys.stdout, default_flow_style=False) EOF + +python << 'EOF' > "$OPENSTACK_DATA/postgres.conf" +import os, sys, yaml + +postgres_configuration={ + 'MANAGEMENT_INTERFACE_IP_ADDRESS': os.environ['MANAGEMENT_INTERFACE_IP_ADDRESS'], +} + +yaml.dump(postgres_configuration, sys.stdout, default_flow_style=False) +EOF |