Add default configuration files to data_files

In order to make it simpler to use the default
configuration files when deploying services
from source, the files are added to pbr's
data_files section so that the files are
included in the built wheels and therefore
deployed with the code. Packaging and deployment
tools can then more easily use the default files
if they wish to.

This pattern is already established with similar
files for neutron and the glance metadefs as has
been mentioned in the related bug report.

Change-Id: I466f235fec7be024f654739a31365724eaf24097
Closes-Bug: #1718356
This commit is contained in:
Nguyen Van Trung 2018-03-15 23:20:29 +07:00
parent 54ec660a57
commit ac6b70dc6a
1 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,12 @@ classifier =
[files]
packages =
cyborg
data_files =
etc/cyborg =
etc/cyborg/rootwrap.conf
etc/cyborg/policy.json
etc/cyborg/rootwrap.d =
etc/cyborg/rootwrap.d/*
[entry_points]
oslo.policy.policies =