Clean etc directory

Move documentation to its proper place, and move the config generator
conf file at the root directory so it does not get installed with the
software.

Change-Id: Ib9e990fa1270a2179b2d8ea83a98d64ad0da345f
This commit is contained in:
Julien Danjou 2016-02-12 09:29:20 +01:00
parent 6c1fbc54c2
commit dca61131ff
4 changed files with 18 additions and 9 deletions

View File

@ -13,9 +13,22 @@
License for the specific language governing permissions and limitations
under the License.
=======================
Configuration Options
=======================
=============
Configuration
=============
Configure Aodh by editing `/etc/aodh/aodh.conf`.
No config file is provided with the source code, but one can be easily created
by running:
::
tox -e genconfig
This command will create an `etc/aodh/aodh.conf` file which can be used as a
base for the default configuration file at `/etc/aodh/aodh.conf`.
For the list and description of configuration options that can be set for Aodh in
order to set up the services please see the

View File

@ -1,4 +0,0 @@
To generate the sample aodh.conf file, run the following
command from the top-level aodh directory:
tox -egenconfig

View File

@ -12,7 +12,7 @@ setenv = VIRTUAL_ENV={envdir}
passenv = OS_TEST_TIMEOUT OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_LOG_CAPTURE
commands =
python setup.py testr --slowest --testr-args="{posargs}"
oslo-config-generator --config-file=etc/aodh/aodh-config-generator.conf
oslo-config-generator --config-file=aodh-config-generator.conf
whitelist_externals = bash
# TODO(ityaptin): With separation tests to unit and functional folders we need
@ -76,7 +76,7 @@ deps = .[doc]
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:genconfig]
commands = oslo-config-generator --config-file=etc/aodh/aodh-config-generator.conf
commands = oslo-config-generator --config-file=aodh-config-generator.conf
[testenv:docs]
deps = .[doc]