e9d03ee1ea
Use config tools from Oslo-incubator : * generate a consistant config file sample: etc/climate/climate.conf.sample * Add a new check in tox env 'pep8' to check out-dated config file sample. Move specifics options for admin credential in group config 'physical:host' Factorize by declaring config options in each plugins with available values and centralizing RESOURCE_TYPE value in plugin's module (one dir per plugin) Use socket.gethostname() in place of socket.getfqdn() to have predictable default value for 'host' config in climate.config, since it's ugly forced in openstack.common.config.generator#L232 Fixes: bug #1271875 Change-Id: Ie54fc98b58b49400360c4fd2ce7d8bb3b75915e2
32 lines
575 B
Plaintext
32 lines
575 B
Plaintext
[DEFAULT]
|
|
|
|
# The list of modules to copy from oslo-incubator
|
|
module=config
|
|
module=db
|
|
module=db.sqlalchemy
|
|
module=eventlet_backdoor
|
|
module=excutils
|
|
module=gettextutils
|
|
module=importutils
|
|
module=jsonutils
|
|
module=local
|
|
module=lockutils
|
|
module=log
|
|
module=loopingcall
|
|
module=middleware
|
|
module=network_utils
|
|
|
|
# current update.py script will download full notifier dir,
|
|
# but we need only notifier.api
|
|
module=notifier.api
|
|
|
|
module=policy
|
|
module=service
|
|
module=setup
|
|
module=threadgroup
|
|
module=timeutils
|
|
module=wsgi
|
|
|
|
# The base module to hold the copy of openstack.common
|
|
base=climate
|