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: I81b5c00ace7b6d5fab4f982f403149a87b3afbd0
Closes-Bug: #1718356
This commit is contained in:
Nguyen Van Trung 2018-03-21 14:40:21 +07:00
parent 3dd5504546
commit c20e61d042
1 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,12 @@ classifier =
[files]
packages =
karbor
data_files =
etc/karbor =
etc/karbor/api-paste.ini
etc/karbor/karbor.conf
etc/karbor/policy.json
etc/karbor/providers.d = /etc/karbor/providers.d/*
[entry_points]
console_scripts =