Move policy generator config to config-generator/
etc/ is for config files that should be installed on disk to support a running keystone. config-generator/ is for files that oslo-config-generator uses to generate sample config files and are not needed by keystone in a live deployment. Change-Id: I0614709ded739d77ec620150bcb6c2f456024b6f
This commit is contained in:
parent
ca70982775
commit
4b77186a75
@ -59,7 +59,9 @@ extensions = ['sphinx.ext.autodoc',
|
||||
config_generator_config_file = '../../config-generator/keystone.conf'
|
||||
sample_config_basename = '_static/keystone'
|
||||
|
||||
policy_generator_config_file = '../../etc/keystone-policy-generator.conf'
|
||||
policy_generator_config_file = (
|
||||
'../../config-generator/keystone-policy-generator.conf'
|
||||
)
|
||||
sample_policy_basename = '_static/keystone'
|
||||
|
||||
todo_include_todos = True
|
||||
|
2
tox.ini
2
tox.ini
@ -124,7 +124,7 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
|
||||
commands = oslo-config-generator --config-file=config-generator/keystone.conf
|
||||
|
||||
[testenv:genpolicy]
|
||||
commands = oslopolicy-sample-generator --config-file etc/keystone-policy-generator.conf
|
||||
commands = oslopolicy-sample-generator --config-file config-generator/keystone-policy-generator.conf
|
||||
|
||||
[hacking]
|
||||
import_exceptions =
|
||||
|
Loading…
Reference in New Issue
Block a user