diff options
author | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-04-27 15:31:58 +0000 |
---|---|---|
committer | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-05-07 10:07:24 +0000 |
commit | 8fd703c20bbb553725e698b9ccbf57b1fff6f333 (patch) | |
tree | 9875c4f4cc239557684cd37402d4b3efd0852eee /openstack-keystone.configure | |
parent | 5b8bd945cb1171e89cc9313b4c13b470ee00548d (diff) | |
download | definitions-8fd703c20bbb553725e698b9ccbf57b1fff6f333.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 |