Fix genpolicy tox job

The etc/placement/policy-generator.conf file still referred
to nova. Now that it does not, policy generation happens as
expected. The name of the generated file has been changed
to policy.yaml.sample, as we no longer need to distinguish
from nova's.

Note that the readme still points to nova docs, because that
is where we currently have the docs. This will need to change
later.

Change-Id: I633431933666c15eaf8da7e91769d0b4335e6c8d
This commit is contained in:
Chris Dent 2018-10-19 19:01:03 +01:00
parent e7fe0ab862
commit 8e35c6fe4e
2 changed files with 2 additions and 17 deletions

View File

@ -1,23 +1,10 @@
Nova
====
To generate the sample nova policy.yaml file, run the following command from
the top level of the nova directory:
tox -egenpolicy
For a pre-generated example of the latest nova policy.yaml, see:
https://docs.openstack.org/nova/latest/configuration/sample-policy.html
Placement Placement
========= =========
To generate the sample placement policy.yaml file, run the following command To generate the sample placement policy.yaml file, run the following command
from the top level of the nova directory: from the top level of the nova directory:
tox -e genplacementpolicy tox -e genpolicy
For a pre-generated example of the latest placement policy.yaml, see: For a pre-generated example of the latest placement policy.yaml, see:

View File

@ -1,5 +1,3 @@
[DEFAULT] [DEFAULT]
# TODO: When placement is split out of the nova repo, this can change to output_file = etc/placement/policy.yaml.sample
# etc/placement/policy.yaml.sample.
output_file = etc/nova/placement-policy.yaml.sample
namespace = placement namespace = placement