Fix the entry point for oslo-config generator

When we use `tox -egenconfig`, murano configuration file
is generated incorrectly. Some options in `[keystone_authtoken]`
section are missed. This is because keystonemiddleware now use
another function for oslo_config sample generation [1].
This function now returns a smaller list of options than before
without number of deprecated options and some options required
by murano.
This patch changes entrypoint for oslo-config-generator in order
to use older keystonemiddleware's function which lists all
neccesary options

1. https://review.openstack.org/#/c/267277/

Change-Id: I61b9c102e0e07e382237f2d09206df85322cc699
Closes-Bug: #1552226
This commit is contained in:
Dmytro Dovbii 2016-03-02 15:14:30 +02:00
parent 74c649af7b
commit 0d140a32bd
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[DEFAULT]
output_file = etc/murano/murano.conf.sample
namespace = keystonemiddleware.auth_token
namespace = keystone_authtoken
namespace = murano
namespace = oslo.db
namespace = oslo.log

View File

@ -49,6 +49,7 @@ console_scripts =
murano-cfapi = murano.cmd.cfapi:main
oslo.config.opts =
murano = murano.opts:list_opts
keystone_authtoken = keystonemiddleware.opts:list_auth_token_opts
tempest.test_plugins =
murano_tests = murano_tempest_tests.plugin:MuranoTempestPlugin