Browse Source

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
changes/30/458930/3
Colleen Murphy 5 years ago
committed by Lance Bragstad
parent
commit
4b77186a75
  1. 0
      config-generator/keystone-policy-generator.conf
  2. 4
      doc/source/conf.py
  3. 2
      tox.ini

0
etc/keystone-policy-generator.conf → config-generator/keystone-policy-generator.conf

4
doc/source/conf.py

@ -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

@ -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…
Cancel
Save