Have secrets scriot generate from topology file.

This commit is contained in:
Egon Rijpkema 2017-08-29 09:29:53 +02:00
parent 29c0634bc1
commit 1cefcaac0d
2 changed files with 12 additions and 1 deletions

View File

@ -18,7 +18,7 @@ except ImportError:
# length of generated passwords.
pass_length = 20
with open('secrets.yml', 'r') as f:
with open('secrets.yml.topol', 'r') as f:
data = load(f, Loader=Loader)
for key, value in data.iteritems():

11
secrets.yml.topol Normal file
View File

@ -0,0 +1,11 @@
---
GLANCE_PASSWORD:
METADATA_SECRET:
MYSQL_ROOT_PASSWORD:
NEUTRON_PASSWORD:
NOVA_PASSWORD:
NOVA_PLACEMENT_PASSWORD:
OS_PASSWORD: # Keystone admin password
OS_DEMO_PASSWORD: # Keystone demo user password
RABBIT_PASSWORD:
RABBITMQ_ERLANG_COOKIE: