From 1cefcaac0d9b11dafecf7258d267b8db22c3fd4d Mon Sep 17 00:00:00 2001 From: Egon Rijpkema Date: Tue, 29 Aug 2017 09:29:53 +0200 Subject: [PATCH] Have secrets scriot generate from topology file. --- generate_secrets.py | 2 +- secrets.yml.topol | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 secrets.yml.topol diff --git a/generate_secrets.py b/generate_secrets.py index 2717ece..b185cd0 100755 --- a/generate_secrets.py +++ b/generate_secrets.py @@ -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(): diff --git a/secrets.yml.topol b/secrets.yml.topol new file mode 100644 index 0000000..948cdf4 --- /dev/null +++ b/secrets.yml.topol @@ -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: