Fix configuration generator
The current behavior of 'genconfig' is writing file 'mistral.conf.sample' directly to the '/etc/mistral' directory. This has two problems: the /etc/mistral directory may and may not exist; we are supposed to write a usable configuration file into the '/etc/mistral' directory instead of a sample file. This patch redirects the output path to the local 'etc' subdirectory. Developers/users can then tune and install the configuration file based on the sample. Change-Id: I0c75ab9ffc9960ba12ce6f5d725c0c7bb78ef238
This commit is contained in:
parent
3be004e523
commit
83e2431b35
@ -42,7 +42,9 @@ Generate config::
|
||||
|
||||
$ tox -egenconfig
|
||||
|
||||
Configure Mistral as needed. The configuration file is located in ``/etc/mistral/mistral.conf``.
|
||||
Configure Mistral as needed. The configuration file is located in
|
||||
``etc/mistral.conf.sample``. You will need to modify the configuration options
|
||||
and then copy it into ``/etc/mistral/mistral.conf``.
|
||||
For details see :doc:`Mistral Configuration Guide </guides/configuration_guide>`
|
||||
|
||||
**Virtualenv installation**::
|
||||
|
2
tox.ini
2
tox.ini
@ -43,7 +43,7 @@ commands =
|
||||
[testenv:genconfig]
|
||||
commands =
|
||||
oslo-config-generator --config-file tools/config/config-generator.mistral.conf \
|
||||
--output-file /etc/mistral/mistral.conf.sample
|
||||
--output-file etc/mistral.conf.sample
|
||||
|
||||
#set PYTHONHASHSEED=0 to prevent wsmeext.sphinxext from randomly failing.
|
||||
[testenv:venv]
|
||||
|
Loading…
Reference in New Issue
Block a user